Hacker News new | ask | show | jobs
by Tloewald 4630 days ago
Isn't not needing to know whether an object property is real or synthetic a feature?
1 comments

Huh? Of course it is a feature. My point is that if something as innocent looking as property access can be an arbitrary method call, it may make understanding a piece of code more difficult. From the point of view of debugging existing code, which I've done a lot lately, hiding details that may matter in corner cases is not something that I want the language to encourage.
So you're against pretty much all encapsulation then?