7 ms·
Oh god. Please no, collection literals are the worst idea ever. Making up special rules for some special classes in a language? What the fuck!?
by smcj 15y ago
Oh god. Please no, collection literals are the worst idea ever. Making up special rules for some special classes in a language? What the fuck!?
- lurker14 15y agoYou must be terrified at the presence of numerals and quotation marks in programming languages. Here's the doc on Collection Literals, BTW. https://docs.google.com/Doc?id=ddv8ts74_4cbnn5mhj https://docs.google.com/Doc?id=ddv8ts74_4cbnn5mhj Collection Literals are actually better than string literals, because they only enforce an interface, not an implemenation.