-
Notifications
You must be signed in to change notification settings - Fork 30
Refactoring: Simplify using refactoring from Dart #21
Comments
Especially the changes to lib/change_detection/dirty_checking_change_detector.dart |
@tbosch this patch isn't really simplifying things, it's just re-organizing stuff (particularly the change to the dirty checking code). None of this is actually "simpler" in dart either, but in JS-land none of it is really applicable. We don't need to anything really special to create a "field getter", although sometimes those are wrapped in a |
I do think there is no shortage of cargo-cult to be removed, though, that is definitely true. But re-arranging where getters are created doesn't really accomplish much, IMO. |
Ok, can we do the following:
|
I think we probably do want |
Actually, can you keep change_detection.js for now please ;) I need to use On Fri, May 2, 2014 at 3:18 PM, Caitlin Potter [email protected]:
Rob Eisenberg, |
I guess since we don't get any of the static-typing benefits of dart, actually, special casing all of that stuff is probably a mistake because it's always dynamic |
@caitp I would vote for keeping it simple, as reading a map would always be done via a method call. So lets remove it. |
The Dart code for dirty checking has been simplified, and porting those changes would make the JS code simpler as well.
See this SHA: mhevery/angular.dart@e12e5b5
The text was updated successfully, but these errors were encountered: