4 ms·
Many people complain about teaching C leading to bad habits or something of that sort. C is crucial to understanding OS apis, driver code and low-level algorith
by countWSS 3y ago
Many people complain about teaching C leading to bad habits or something of that sort.
C is crucial to understanding OS apis, driver code and low-level algorithms,
its not locked to single platform like assembly and allows composing fairly high-level
abstractions without any hidden overhead. Writing your own libc functions and understanding
how they work is essential to systems programming.
- lifthrasiir 3y agoThe complaint is probably more about teaching C too early and getting fixated on that. The importance and eventual need for learning C is hardly questioned.
- pjmlp 3y agoThe problem is not teaching C, for better or worse it is going to stay around us for a very long time, thanks to UNIX's victory on server room and embedded systems. The actual problem is doing a half baked job, teaching it as if PDP-11 were still current, without any consideration for safe programming practices and modern tooling.
- sys_64738 3y agoThese bad habits you mention should be taken care of by general programming concepts classes. If you're using a new language like C for OS development and you are thinking of goto and other frowned on methods then a person really didn't do the programming concepts class very well.