6 ms·
> C is simple language Except for, you know, all that Undefined Behavior stuff, which makes it practically impossible to write correct programs even for very s
by adwn 5y ago
> C is simple language
Except for, you know, all that Undefined Behavior stuff, which makes it practically impossible to write correct programs even for very skilled developers, or the lack of abstractions, which makes it hard to safely re-use advanced data structures.
"C is a simplistic language" would be more accurate.
- VLM 5y agoC encourages simplicity. Code is either clear and simple, or extremely obscure and safe, or kinda in between is complicated but not complicated enough such that its not safe. "Simplicate and add lightness" aerospace mentality people like C. At some point any project expected to do ever more complicated tasks, like a kernel, will be unable to use simple C and will have to take the hit of a more complicated language. Simple is good when matched to simple tasks; my microwave oven or TV should ideally never data network with the external world and never malloc memory and never do string processing. C makes an amazing toaster or car automatic transmission controller.