Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Clojure may be what you want then, if you can stomach the lisp-y syntax.

Otherwise Scala is pretty pragmatic about it (val vs var).

In both cases you still get only shallow immutability, but if nigh every object itself is immutable, shallow immutability may not be so shallow.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: