Any recommendations for my friend who wants to learn C programming online?
@johanv is your friend who wants to learn C new to programming or just new to C?
If the former, I recommend the Harvard CS50 course (free online) the first half of it is all in C and does a really good job of laying out basic CS principles while also introducing C.
If they are just new to C, I think it's tough to do better than K&R, even after all these years
I wouldn't recommend K&R to someone who doesn't already have a background in programming.
If the person likes a text-based option, I'd recommend Beej's guide. It's written in an amusing, sort of silly way which keeps it from being too dry but also manages to deal with topics in a very reasonable manner and in a very good order for new coders.
@jeffalyanak yeah, agreed. I was recommending K&R if they do have a background in coding and just want to learn C
@johanv I always recommend starting with a copy of K&R. It grounds you in the basics and, if you're ever at a talk and the presenter asks for a show of hands of those who own/read it, you're one of them. Instant street cred.😃
Disclaimer: I am a C snob.
Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.