News for hackers. Stuff that matters.
Re:Object.observe withdrawn from TC39 by andrewmcwatters on Monday November 02, 2015 @04:03PM (#10495212)
Object.observe in itself was a declaration that the web community at large is not ready for serious software development yet.

Any seasoned developer would see the ignorance in implementing such a feature.

Re:Object.observe withdrawn from TC39 by angersock on Monday November 02, 2015 @04:07PM (#10495250)
I used to work on a legacy Java codebase that made heavy (mis)use of the Observable pattern, and I must second your sentiment.

Invariably a system acquires enough stuff going on that you get "observer storms" of feedback, or people find really weird couplings that are not immediately obvious because something several modules away is observing something it doesn't need to.

Re:Object.observe withdrawn from TC39 by acbabis on Monday November 02, 2015 @05:00PM (#10495620)
In order to observe an Observable object, you need to have a reference to it. Adding an Observer to something that you shouldn't isn't possible without introducing it as a dependency. If someone does inject something so they can observe it, it's easier to spot the coupling.

It sounds like the legacy code you got stuck maintaining put logic inside the observers, which isn't the Observer Pattern's fault. In my own experience, not using event patterns like the Observer Pattern is probably the biggest cause of difficult-to-maintain code.

Re:Object.observe withdrawn from TC39 by i38608 on Tuesday November 03, 2015 @01:51AM (#10497993)
How dare they use a feature that is not significantly different from using a setter for every property! These young people ought to know better.
Re:Object.observe withdrawn from TC39 by andrewmcwatters on Tuesday November 03, 2015 @08:07AM (#10499258)
I'd hate to be the one reviewing your code. I'm probably younger than you, too.