Hacker News new | past | comments | ask | show | jobs | submit login

I also like writing code in C both professionally and for personal projects.

One thing I LOVE about C is the offline documentation for standard libraries. Beej’s guide to network programming is amazing but also reproducible with “man socket” and then wandering down the rabbit hole. (Ref: https://beej.us/guide/bgnet/html/split/)

C++, the sprawling beast that it is, you have no choice but to consult some web page to get decent documentation. The same goes for Rust (Please let me know if I am wrong here, I have not used Rust in several years).

Maybe it’s just a personal quirk, but when programming I love to shut off Wi-Fi and focus on whatever it is I want to get done. It is not always feasible of course, but it is definitely my preferred way to work. And C is the most amenable language to being offline.




Rust includes:

* offline documentation for the standard library and other things, via rustup

* the ability to generate full documentation for your project offline via “cargo doc,” including any dependencies

This has been in place basically forever, so you must have just missed it last time.




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

Search: