3 ms·
C has an interesting culture of terse variable and function names, and limited comments. It comes from an entirely different mindset and time period in software
by bane 6y ago
C has an interesting culture of terse variable and function names, and limited comments. It comes from an entirely different mindset and time period in software. It predates most "modern" concepts of software re-usability that eventually turned into enterprise OOP practices and was crystalized in Java and C#.
It's not great anymore. The software world has moved on to understanding how important these things are (and even often takes things too far), but C seems a bit stuck in its ways.
- vii 6y agoThe value of comments and references depends on the software context. If inexperienced people are expected to be editing or reading the code they're more valuable. However, they are expensive to keep in sync with changes to the implementation and the value has to balanced against this cost. Java and C# did not replace C. They're typically used for different tasks. Objectively speaking, do we have evidence these enterprise OOP practices lead to better software?