News for hackers. Stuff that matters.

Ask HN: How do I become a good coder?

I am not a good coder. I recently graduated from an Msc (in CS), having previously studied Physics. Though I learned a lot during the Msc, none was related to actually creating good code. I can get small things to work in python (and a bit in java), and in general can understand what a given program does. I've even made a few small applications for Android. Having said that I am no software engineer - mostly I just piece it together. I enjoy the algorithmic side of things, and I enjoy getting an idea to actually work - but on larger projects I just don't know where to begin. Given this background, I have a number of questions!

- I want to work in programming, at some level. Ideally I would find a job that allows me to do something interesting, and learn (with the emphasis being on learning). Where should I be looking in the UK?

- Most importantly, how do I become a better at creating good code?

Thanks in advance!

( 4 comments | 4 points | on HN )
Re:Ask HN: How do I become a good coder? by ajsharp on Monday September 26, 2011 @05:55PM (#3040908)
1. Read code on github.

2. Write lots of code.

3. Repeat steps 1 & 2.

Happy coding!

Re:Ask HN: How do I become a good coder? by exicer on Tuesday September 27, 2011 @03:28AM (#3042256)
I can see that this is a good thing to do (though I will need to spend some time working out how to find interesting things on github). However, will this be enough to learn things like - design patterns, and when to use them? How to properly test code? I suppose these things are not so much of a problem; I have heard of them, so I can find out about them. I am more worried by finding out about things that I am thus far unaware of!
Re:Ask HN: How do I become a good coder? by groby_b on Monday September 26, 2011 @06:40PM (#3041023)
Read about CS. As much as you can get your hands on.

Find a mentor who can help you when you have hard questions.

Contribute to OSS projects - you _will_ get feedback on your code ;)

Re:Ask HN: How do I become a good coder? by glimcat on Monday September 26, 2011 @07:20PM (#3041129)
Pair programming. Lots of practice. Always be learning.