3 ms·
Are there any dynamic languages in which objects are not hashes?
Are there any dynamic languages in which objects are not hashes?
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