News for hackers. Stuff that matters.
Re:Ask HN: Good practices for my first C project by xxpor on Wednesday October 18, 2023 @04:40PM (#37934486)
For a new project, make/bear are really not not the best any more. Something that outputs ninja would be much better. Faster, supports compile_commands.json out of the box, profiling support, etc.

One thing I'd add to the list: stdint.h. Don't use int, long, etc. Just use uint32_t, uint64_t and friends. Completely eliminates the ambiguity and you don't have to remember which is which.

There are no comments on this comment yet.