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

Exactly; the whole idea of "deep dup" doesn't even exist in Clojure. It's a non-issue. Some languages go so far as to encourage actually serializing and then reading back in a data structure as a form of doing a deep duplication! (I've done this in Objective-C, based on advice in popular books.) This is an extreme example of the pitfalls of mutable data in many circumstances.


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

Search: