3 ms·
> People choose C++ because it's a flexible language that lets you do whatever you want. You went on a bit too long. C++ lets you do whatever. Whether you want
by tialaramex 2y ago
> People choose C++ because it's a flexible language that lets you do whatever you want.
You went on a bit too long. C++ lets you do whatever. Whether you wanted that is not its concern. That's handily illustrated in Matt Godbolt's talk - you provided a floating point value but that's inappropriate? Whatever. Negative values for unsigned? Whatever.
This has terrible ergonomics and the consequences were entirely predictable.
- mgaunard 2y agoIt's just strong typing. You can do it in C++ too.