How do I become a better programmer?
February 5, 2007 7:24 AM
Subscribe
How do I learn to be a better programmer (not just learn a particular language)?
I've been hacking around a lot with Ruby on Rails, and I've gotten fairly good at reading working code and making changes to it to do what I want. I can also write fairly simple applications from scratch that work well enough. But I feel like I'm missing a lot of the 'fundamentals' about how to write polished, secure and stable applications. I also don't feel like much that I've learned is translatable to other programming languages.
So what I'd like is possibly some recommendations for general programming books, but also particularly good specialist books (for example, something on Object Oriented programming). What I'm not looking for are 'reference books' about particular languages, because those are pretty easy to find.
posted by empath to computers & internet (36 comments total)
35 users marked this as a favorite
You may want to investigate such concpets as defensive programming, depth of security, or even try doing some actual hacking (on your own kit... :-)
Finally, just code more. Lots and lots. Read other people's code, ask questions of the authors, get involved with more experienced people.
IMHO Ruby on Rails is a good place to start, Ruby seems to cover a lot of the important aspects of programming (objects, typing, exceptions, inheritance, scope, debuggering, etc). You could do a lot worse as a place to start.
For some reading:
http://www.rubycentral.com/book/
http://www.zend.com/php/design/patterns1.php
Just a starting point.
posted by gaby at 7:45 AM on February 5, 2007 [1 favorite]