4 ms·
I missed the part where language design is a solved problem and everyone is able to create a perfect programming language on their first try. Do you want every
by ghqst 4y ago
I missed the part where language design is a solved problem and everyone is able to create a perfect programming language on their first try. Do you want every language to just be slightly different Rust?
- frou_dh 4y agoIn that respect it's more about ML/SML from the 1970-80s. Even putting null-safety aside, the latter part of the post with destructuring tuples and pattern-matching shapes looks almost 1:1 like SML code!
- munificent 4y agoI'm the main designer of the patterns stuff we're working on in Dart. Yes, SML is absolutely one of the primary inspirations. The design also takes a lot of inspiration to how Swift and C# approach pattern matching and destructuring. There are so many good languages out there to learn from.
- mrkeen 4y ago> Do you want every language to just be slightly different Rust? Kinda. The trap with putting out 'crap' and fixing it later is that language designers will inevitably try to preserve backward compatibility, meaning the crap has to stay in forever. Putting null and null-safety into a new language is like putting venereal disease and condoms into a new language. People will spill paragraphs on whether or not condoms are worth it, and whether VD is a problem if you have a sufficiently advanced IDE. But why put the VD into the language in the first place?