Ask HN: What language should I learn first?
1–10 of 77 posts
I want to learn to code. Which language should I start with, and why? Just signed up for Codeacademy...
Re: Ask HN: What language should I learn first?
#2Python seems like a good choice as it is simple and can be used in a wide variety of applications.
Re: Ask HN: What language should I learn first?
#3I believe that you can't go really wrong with any of the languages offered at Codecademy. If you have to pick one I would suggest JavaScript. It's not uncommon for projects to involve another language + JavaScript, so the syntax knowledge should be useful for years.
Re: Ask HN: What language should I learn first?
#4I believe that you can't go really wrong with any of the languages offered at Codecademy. If you have to pick one I would suggest JavaScript. It's not uncommon for projects to involve another language + JavaScript, so the syntax knowledge should be useful for years.
I would actually recommend against using JS as your first, since it's so atypical.
Re: Ask HN: What language should I learn first?
#5What is your preferred computer? If Windows, then I must agree with myddle's recommendation of Python.
Re: Ask HN: What language should I learn first?
#6Python. Just pick it and move on.
Re: Ask HN: What language should I learn first?
#7Python
Re: Ask HN: What language should I learn first?
#8It doesn't really matter, but Python is a good choice. It's intuitive, has a great ecosystem, and lots of different practical applications.
Re: Ask HN: What language should I learn first?
#9c#是我第一个学的语言。
Re: Ask HN: What language should I learn first?
#10I believe that you can't go really wrong with any of the languages offered at Codecademy. If you have to pick one I would suggest JavaScript. It's not uncommon for projects to involve another language + JavaScript, so the syntax knowledge should be useful for years.
I would actually recommend against using JS as your first, since it's so atypical.
I would have to disagree. It all depends on how you learn JS. I really liked the book JavaScript: The Definitive Guide 6th Ed. which at many points talked about the differences between JS and C. As someone who learned JS as a first language, I find the syntax is close enough to C and C-Like languages to make picking them up fairly easy, but I'm still a novice and while I know JS pretty well I've only dabbled in C, D, and Rust as lower level languages. I found these languages to be almost like "extended" JavaScript because I didn't have many issues reading simple functions, and that's why I think it's a good language to start on, you can learn how to actually read and understand code with C-like syntax which, for me, made understanding lower level C-like code seem a lot easier.
Plus I think JS is fun to use because of how fast you can see your work "come to life". JS is also in high demand.