Hacker News new | ask | show | jobs
by grumblestumble 4467 days ago
Pretty much any conversation about AngularJS that gets stuck on "dirty checking" makes my eyes glaze over. As for "black magic" DI, if you're uncomfortable with a framework extending the basic language, it's perfectly possible to do DI explicitly in Angular 1.2. This is a project-level choice.
1 comments

i was uncomfortable with the fact that it was being done in core, and I know from personal experience that it will only take a good enough reason to do something even dodgier with that type of thing.

my recommendation was that they remove it from core, and have it be opt-in through the use of ngmin.

they are actually removing it completely from angular 2.0, so it's a moot point really.

http://daemon.co.za/2014/03/complexity-creeps-concerned-for-...

I also stated that I was fine with the dirty checking, because it worked better than it had any real right to. And best of all, it's only 'for now'

http://daemon.co.za/2014/03/why-wrong-to-be-afraid-angular