News for hackers. Stuff that matters.
Re:Classes are Expressions by malkia on Thursday June 04, 2015 @05:33PM (#9662251)
It's not new in the some other language worlds, where your approach is also not new - I mean "make-symbol" in Common Lisp...

Btw, once a symbol is created, is it ever garbage collected? (They are not in Common Lisp for example).

Possibly on page reload (for javascript in browser) they would. But how about long-running javascript code?

Re:Classes are Expressions by matchu on Thursday June 04, 2015 @05:50PM (#9662374)
Okay, some better phrasing, then: the closure-based approach has been idiomatic for years, but the symbol-based idiom is new.

What lessons have folks learned from trying these approaches in other languages? Which is more idiomatic, and why?