3 ms·
No, i only mentioned that sum types exist in Pascal - and existed in other languages too before Rust. But my main point of bringing up Pascal was that it existe
by badsectoracula 6y ago
No, i only mentioned that sum types exist in Pascal - and existed in other languages too before Rust. But my main point of bringing up Pascal was that it existed for decades before Rust, it provides at least the same functionality as C (in fact, even late 80s Turbo Pascal has more functionality than C), is safer than C while still providing as much low level functionality as C, yet it never supplanted C.
Which makes me wonder how much programmers who use C really care about those features in the first place.