I believe this came up in a previous discussion some days ago, but it bears repeating: Working with/getting personal help from someone more experienced than yourself is awesome. The trick is not to bother them with (to them) trivial questions, but show that you have put in the work and ask them for their guidance. Look over experienced coders shoulders any chance you get, and talk to them, to understand their way of…
thanks for the tip! It would be awesome if you found that thread somewhere.
Ask HN: Non-technical people, how did you learn to code?
11–20 of 58 posts
Re: Ask HN: Non-technical people, how did you learn to code?
#12I taught myself to code at the age of 22 and I am not a math genius by any means. I feel like I'm getting pretty good at it (almost 24 now). The biggest thing to remember is to have a real problem you're trying to solve with programming. Just going through tutorials isn't going to teach you how to program. And then Google until you figure it out. I found it works best to get something functioning, and then go back an…
Re: Ask HN: Non-technical people, how did you learn to code?
#13[1] Copy examples, and tweak them to understand how they work.
[2] Program a game or a puzzle. (Here I'm talking about a simple game like Tic-Tac-Toe, not a full-fledged PS3 of XBox game). Programming something that is purely for fun provides a lot of gratification and reward. The joy of seeing the result is what propels you in spite of the frustration of error and failure. Plus, since you're in control of the project, you can focus on the fun stuff and postpone or skip boring things. For example, have a go at writing a Sudoku solver, or Cryptoquote, or Mastermind.
Re: Ask HN: Non-technical people, how did you learn to code?
#14Re: Ask HN: Non-technical people, how did you learn to code?
#15I learnt to code at 14 after asking my GCSE ICT (as in, Word, Excel, and FrontPage—that's the sad state of IT education in the UK) teacher what the "header files" I saw in the Deus Ex SDK were. He introduced me to Java, and, to be very cliché, the rest is history.
The main "textbook" I read was "Introduction to Programming Using Java"[1] (then in its fourth edition), which goes at a very easy pace and explain things well (I love this book, maybe its the nostalgia goggles but I'll never forget it and what it taught me). I'll add that I didn't have the Internet at home at the time; I had only a handful of resources to help me and all problems I encountered I had to solve by myself. Very "grindy".
If I were to start over, I'd probably go for a much nicer language such as Python, and use its tutorial[2] as well as Mark Pilgrim's Dive Into Python[3][4], and then move onto Django.
Basically, the best way to code is by coding—think of something to build, then build it, ideally trying a different way. Remember to read documentation and other (ideally smarter) people's code and follow (and, importantly, try to understand the reason of) best practices.
[1] http://math.hws.edu/javanotes/ [2] http://docs.python.org/tutorial/ [3] http://diveintopython.org/ [4] http://diveintopython3.org/
Re: Ask HN: Non-technical people, how did you learn to code?
#16I taught myself to code at the age of 22 and I am not a math genius by any means. I feel like I'm getting pretty good at it (almost 24 now). The biggest thing to remember is to have a real problem you're trying to solve with programming. Just going through tutorials isn't going to teach you how to program. And then Google until you figure it out. I found it works best to get something functioning, and then go back an…
If you're currently puting reports together by hand, see if you can write a bit of code to do the repetitive part. If you need to filter a stream of articles, see if you can weed out the easy 80% using word matching, or some other heuristic you develop. If you have a spreadsheet to do your budgetting, see if you can replace it with a program that can fetch all the available data, and spit out relevant results.
Re: Ask HN: Non-technical people, how did you learn to code?
#17Re: Ask HN: Non-technical people, how did you learn to code?
#18Then I took data structures and programming because I liked that first class so much. In between the two classes I taught myself from material for a 1 credit course that converted matlab people to Java.
Re: Ask HN: Non-technical people, how did you learn to code?
#19I started programming when I was 24 (11 years ago) and working at my first job. A coworker was my mentor early on, and we pair programmed frequently for a couple of months. I read a couple of Wrox Java books and just learned by writing a lot of code and reading as much as I could. Luckily, I was tasked with developing a whole bunch of forms for a client-server application, which the IDE helped me out with a lot with…
Re: Ask HN: Non-technical people, how did you learn to code?
#20I want Codecademy to extend their language set and number of courses. This would help me greatly.