Hacker News new | ask | show | jobs
by fanf2 3838 days ago
Are there any dynamic languages in which objects are not hashes?
2 comments

Ruby -- object data is all private, and the reader/writer/attr things just make the getters and setters for you.
Python is another example. You can assign dynamic properties, but there is no object literal syntax