News for hackers. Stuff that matters.
Re:Apple JavaScript Coding Guidelines by Tomek_ on Sunday October 31, 2010 @10:12PM (#1855100)
Sorry, but I don't follow - what has using getter/setter to do with MVC?
Re:Apple JavaScript Coding Guidelines by taitems on Wednesday November 03, 2010 @07:40PM (#1866957)
Oops, sorry I never follow this up.

What libraries like Backbone all have in common at the core is that they use setter methods to trigger custom bound listeners/events . When these custom events are fired, they update the multiple variables/objects that are bound directly to them. For someone who is learning JavaScript OOP for the first time on my current project, this makes a lot of sense and seems pretty exciting.