Hacker News new | ask | show | jobs
by allertonm 6266 days ago
It seems to be the fashion to bash OOP these days, but I wonder in this case whether by "OOP" you are really talking about attempts to emulate classic GUI programming in the browser. In which case, I completely agree - and one of the things I love about jQuery is that it lets you work with the browser like it's a browser.

In this case I think Katz is replacing one kind of abstraction off of the browser with another one, actually an abstraction away from the natural call mechanisms of the javascript language. This is basically Aspect Oriented Programming by another name, and I've not actually come across a project where AOP made life less complicated.

1 comments

The way I look at it is actually less AOP than it is event-driven SOA. All of your domain-specific event handlers are sort of like services.