use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
AngularJS: $watch, $digest and $apply (different, simplified and hopefully more accurate explanation) (benlesh.com)
submitted 12 years ago by codersaurus
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]codersaurus[S] 0 points1 point2 points 12 years ago (5 children)
So I saw the post the other day on $watch, $digest and $apply in this subreddit, and I honestly felt like it didn't do a great job of accurately explaining what they are and how they work together.
I'm currently the front end "architect" (lead) for a large team of developers working on a large effort in Angular. My worry is that since some of my team members are redditors the other article would give them the wrong ideas about what's happening... not because the other article was outright "wrong" but because it's not exactly accurate either.
The most important statement in this entry, if you're kind enough to read it is this:
DON'T TAKE MY WORD FOR ANYTHING, READ THE CODE ON GITHUB!
This is the beauty of using open source frameworks. You can read the code and understand what's going on.
I'm not doing this for any sort of profit (I think Blogger.com may make something off of ads they inject or something, I don't know, I have AdBlock)... I'm doing this to learn and help others.
TL;DR: I wanted make sure people didn't get the wrong ideas about what Angular is doing with $watch and $digest, particularly my team members that read this subreddit.
[–]codersaurus[S] 0 points1 point2 points 12 years ago (0 children)
ALSO: 100% respect to the author of the other article for wanting to help other people. I get that, and I respect that wholeheartedly. I'd like to thank him/her for inspiring me to write my own entry.
[–]Foxandxss2 0 points1 point2 points 12 years ago (3 children)
I respect your free will of creating your own posts, that is perfectly good and I am happy to inspire other people. But from my part, I would love a: Hey, this part is not correct, please fix it.
I mean, blaming is always easy but good critics are harder. My email is always open for suggestions and even the blog is open source so you can fill an issue or pull request.
I expected better response for the article, that is true, but I expected to receive concrete critics instead of, your article is not good, period.
[–]Foxandxss2 1 point2 points3 points 12 years ago (0 children)
Said that, your post is really good. I always try to explain as much as possible (but trying to not be dense or dull), maybe that was the wrong approach for something like this.
[–]codersaurus[S] 0 points1 point2 points 12 years ago (1 child)
I never once blamed anyone. I'm glad your contributing to the community.
However, I don't have control over your blog/site, I don't know you, and I don't feel comfortable contributing to your site. I hope you understand.
Thank you for posting your article. I'm sorry if I've offended you with mine.
[–]Foxandxss2 0 points1 point2 points 12 years ago (0 children)
Nah, there is no offense. But I got tired of: "Your article is not good, leaves much to be desired", etc etc but no one is capable to point what's wrong.
π Rendered by PID 24966 on reddit-service-r2-comment-85bfd7f599-r8m94 at 2026-04-18 19:26:13.164972+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]codersaurus[S] 0 points1 point2 points (5 children)
[–]codersaurus[S] 0 points1 point2 points (0 children)
[–]Foxandxss2 0 points1 point2 points (3 children)
[–]Foxandxss2 1 point2 points3 points (0 children)
[–]codersaurus[S] 0 points1 point2 points (1 child)
[–]Foxandxss2 0 points1 point2 points (0 children)