Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I said idiomatic because that’s the form they’re going to encounter it in the wild, in library doc, in stack overflow answers.

I do t think rhe sort of low level bit banging you propose is a worthwhile use of a students time, given the vast amount they have to learn that won’t be immediately obsolete.



I firmly disagree with this. We're talking about learning C, not learning an arbitrary programming language. The course of study the GP comment suggests teaches syscalls, pipes, buffering, and most important, it teaches mechanical sympathy. All of which are things a C programmer needs to understand.

More programming tasks than you might imagine are low-level bit banging, and C remains the language of choice for doing them. It might be Zig one day, and if so, the same sort of deep-end dive into low-level detail will remain a good way to approach such a language.

Far from becoming "rapidly obsolete", learning in this style will prevent this sort of mistake for years into the future: https://news.ycombinator.com/item?id=39766130


“we” are certainly not talking about C. I never mentioned C, nor any language. This was intentional.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: