News for hackers. Stuff that matters.
Re:Ask HN: What should I learn as my first programming langu... by striking on Thursday October 06, 2016 @10:23AM (#12652657)
Don't learn a programming language. Learn how to accomplish projects.

Pick a project, whether it's a blog or an automated tea brewer or 3D model viewer or something... and then pick a language that suits your needs.

So many beginners fall into this trap of learning just for the sake of learning; I've found that people with projects and with clear goals make the most progress.

If you want to learn a programming language, read any of the other comments. (I agree with Python being first on the list.) But if you want to learn to program, don't fit yourself into a category just yet. Be pragmatic and use whatever's best for the job.

Re:Ask HN: What should I learn as my first programming langu... by Tomminn on Thursday October 06, 2016 @04:52PM (#12656003)
This is really great advice that jibes with my own experience. A small thing I would add is that when you do this, the following main goals are possible:

1) To finish the project.

2) To learn a language.

3) To finish the project, but also learn a language.

4) To learn a language, but also finish the project.

My $0.02 is that: 1) tends to lead to short term hacks; 2) and 4) tend to lead to dwindling motivation; 3) is ideal. And if it's your first language, do the project while you read a good generic programming book like 'code complete'.