4 ms·
If anything, C is frustratingly weakly-typed. The integer conversion rules and the signed/unsigned mess are its biggest mistakes.
by bluetomcat 11y ago
If anything, C is frustratingly weakly-typed. The integer conversion rules and the signed/unsigned mess are its biggest mistakes.
- cbsmith 11y agoYup. People get static and strong typing murder up.
- Jtsummers 11y agoI think you meant mixed up. It certainly does seem, though, that thinking your weak and static type system is strongly typed can lead to errors that could kill a program, and, depending on what the program does, harm people and other systems.
- cbsmith 11y agoTotally meant mixed up. :-(
- blakeyrat 11y agoIt also set a bad example. A lot of otherwise good more modern languages make the "char and int are really the same type" mistake.