Closed
Description
I'm not sure if I'm overlooking something or if this is a stupid question, but... Why not use JavaScript getters?
JavaScript objects have support for getters: (works everywhere except on IE8)
- http://ejohn.org/blog/javascript-getters-and-setters/
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects
Why not use them (optionally) instead of .get()
and .getIn()
? Especially for server-side code and for applications that aren't focusing IE8 this could be really helpful.
Metadata
Metadata
Assignees
Labels
No labels