Live data from Hacker News

Ask HN: What language should I learn first?

news.ycombinator.com

21–30 of 77 posts

Re: Ask HN: What language should I learn first?

#22

Learn Swift. Mobile is the future.

Mobile may be the future, but Swift is limited to one vendors mobile platform, while there are a ton of languages (C#, JS, Python, Ruby, even Haskell) that you can use for mobile that aren't limited to one vendor''s platform. Plus, "mobile" usually has a server component, and those other languages can also be used for the server end.

Re: Ask HN: What language should I learn first?

#23
post #17
post #5

What is your preferred computer? If Windows, then I must agree with myddle's recommendation of Python.

I don't get your comment. Python is great on each platform but Windows where you must put some extra effort to get it running.

Python is just some extra effort. While Ruby is much more of a pain on Windows.

Re: Ask HN: What language should I learn first?

#24

I 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.

If you want to learn to program, and not to program for the web, then I'd say Javascript is a bad choice. Apart from his quirks, you can't really just learn Javascript: you would learn HTML and CSS with it, it's overwhelming (compared to other languages).

Personally I'd go with Python to learn the joy of programming, and then some C (or Rust) to understand which problems were lifted by the higher level language. Javascript is too useful in the Web to not learn it, and then go functional to open your mind. Well, it's a long road :-)

Re: Ask HN: What language should I learn first?

#26
Whatever you choose, learn git along with it. It helps to answer the question, "This used to work, what did I do to break it?"

Also, call me sentimental but I learned C/C++ as my first language and would recommend it. I don't see a codeacademy class for that though, and it's not really perfect for web development.

If you find that codeacademy isn't working out, I've also personally used codeschool.com and had great experiences there.

Post reply on HN