a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by user-inactivated
user-inactivated  ·  3390 days ago  ·  link  ·    ·  parent  ·  post: How did you learn programming?

I tinkered around before then, but really only got it when I read K&R. That's probably not the best place to start now though; even in the unix world, C doesn't have the same place in the ecosystem it used to.

The Structure and Interpretation of Computer Programs is a good book if you're mathematically inclined. There are lecture videos of the authors teaching a class from it that are well worth watching too.

If you're looking for something more practical, start with the python tutorial, find some libraries for the sorts of programs you're interested in. Sign up for an algorithms class, and maybe combinatorics or graph theory if your school offers them, later if you decide you like programming.





syzo  ·  3390 days ago  ·  link  ·  

I've heard that going through SICP is mind-altering. I'm just now starting to go through it - it's been on my to-do list for forever. I probably wouldn't suggest it for a beginner, but i guess it was an introduction to programming for MIT students.

user-inactivated  ·  3390 days ago  ·  link  ·  

MIT doesn't use it anymore. I think it's a fine introduction for a newbie who is comfortable with mathematics, because it tries to be something like an Elements for programming. It's not really an introduction to programming as engineering, but no book is a good introduction to programming as engineering, and certainly no book that doesn't assume some background.

syzo  ·  3389 days ago  ·  link  ·  

To be fair, I did say "was". ;)