Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Programming language design ====== ===== Value semantics ===== E.g. Swift: Many references to one variable. * In Python: Reference semantics. Defensive copies => clone with bad performance * In Swift: Value semantics. **Copy on write.** Only one reference => in-place update. * In Java: Immutable strings. Also in functional languages. Safe, but expensive. ===== Progressive disclosure of complexity ===== programming_languages_design.txt Last modified: 2020/10/24 20:31by phreazer