News for hackers. Stuff that matters.
Re:Beej's Guide to C Programming by bigdict on Sunday February 26, 2023 @01:15PM (#34947789)
> how to write real code

There are many ways, a codebase would be a better resource than a book.

Re:Beej's Guide to C Programming by beej71 on Sunday February 26, 2023 @01:53PM (#34948206)
I agree. The Guide doesn't give many real-world examples (there are zillions of those already out in the real world). It's about how to swing a hammer and turn a screwdriver, not how to build a house.

That said, I try to make K&R-idiomatic examples when I can. They're just small-scale.

Re:Beej's Guide to C Programming by CamperBob2 on Sunday February 26, 2023 @02:51PM (#34948719)
That's tricky, though. It would be a bad idea to learn C++ from my code, even though it works well enough.

And until you're well along the path to guruhood yourself, you won't know if you're reading good code or bad code.