3 ms·
This to me says that C is the more powerful language. C can do what higher level languages can, in not many more lines, but higher level languages cant do the
by quelsolaar 5y ago
This to me says that C is the more powerful language. C can do what higher level languages can, in not many more lines, but higher level languages cant do the low level things C can do.
- mrathi12 5y agoThis is such a common fallacy. C exposes lower-level memory management, but to then say "oh now you have pointers you can implement anything" is a push. If you need to implement virtual tables and function pointers, you'd use C++ - there's no need to reinvent the wheel. Besides software engineering is about focusing on the intrinsic complexity, and using languages and tools to mitigate the incidental complexity.
- WalterBright 5y agoI've done OOP in C, and so have others. It's just not worth it. Too much casting, too much scaffolding, much too brittle and error-prone. The experience is like "how much suffering can one endure."