Re:Ask HN: Why don't languages such as Java support json-lik...
by tdb7893 on Friday November 10, 2017 @01:59PM
(#15672062)
Object literals would be weird in Java. My guess is that they would probably be implemented as essentially calling a no argument constructor and then a bunch of setSomeVar functions. Overall the no arg constructor and a bunch of setter functions often isn't a good pattern in Java in my experience
[ Parent
| on HN ]
There are no comments on this comment yet.