Why learn C? (O'Reilly Radar)
Posted Jun 29, 2012 7:09 UTC (Fri) by kleptog
In reply to: Why learn C? (O'Reilly Radar)
Parent article: Why learn C? (O'Reilly Radar)
You're just denying reality here. C lacks tons of features that make everyday things much easier to write and debug and less error prone, such as automatic memory management, bounds checking, a sane type system, a module system, exception handling, closures etc.. These things were invented for a reason.
I think that's kind of the point. All those things you refer to simply do not exist at a hardware level. If your goal is to teach people how computers actually work then you need to use a language whose model resembles that of the underlying machine, and C does that.
FWIW, I think it would be instructive for new programmers to think about, for example, how you would actually implement things like exception handling in C, just so they appreciate what is being done for them. Many of the things you describe are decidedly non-trivial.
to post comments)