3 ms·
http://faq.sealedabstract.com/structs_or_classes/ http://faq.sealedabstract.com/structs_or_classes/ This is a better explanation, I think. The structs for valu
by cezarywojcik 11y ago
http://faq.sealedabstract.com/structs_or_classes/ http://faq.sealedabstract.com/structs_or_classes/
This is a better explanation, I think. The structs for values and classes for references idea is a bit shortsighted and doesn't really cover all use cases.
- 0x09 11y agoI believe this article today is actually a response of sorts to that one, judging by mikeash's comments from when it was posted here 2 weeks ago: https://news.ycombinator.com/item?id=9830646 https://news.ycombinator.com/item?id=9830646
- ksherlock 11y agoBetter for whom? People that don't understand what a value or a reference is and need image macros to explain everything?