Follow

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

@codesections
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.

beej.us/guide/bgc/

@jeffalyanak yeah, agreed. I was recommending K&R if they do have a background in coding and just want to learn C

@codesections @jeffalyanak but there again, if they hadn't done much programming before, I wouldn't recommend C as one of the first languages to learn.

@johanv
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.

beej.us/guide/bgc/

@johanv I have "Learn C The Hard Way" course. The author is very active on his forum, the course is thorough enough, and you can take your time. I'm working through right now in fact. So if that's worth anything, give it a look over: learncodethehardway.org/c/

@johanv I've also found myself going to learn-c.org for supplemental reading on the basics of C. It might even be good introductory reading before 'LCTHW'.

@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.

@johanv

Encourage them to have a project or goal in mind on which to build their skills. Something like projecteuler.net/ or the just finished adventofcode.com/. No matter the tutorial or book they use, I find it always helps to have a goal in mind to help me learn.

Sign in to participate in the conversation
Fosstodon

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.