Live data from Hacker News

Ask HN: What language should I learn first?

news.ycombinator.com

71–77 of 77 posts

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

#71
post #16

Pseudocode is a good start unless you already have a project in mind? Remember there is no one-language-solves-all-problems, you gotta pick the right tool for the job and you shouldn't be afraid to hop between those tools.

Pseudocode is only good for theoretical algorithms as it does not provides immediate result, and can at most do the work of a Ti calculator. Learning a real language provides a lot more interest and satisfaction.

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

#76
I am sure others are going say, or have said, something similar:

If you had to learn a second language, the question has many great candidates for answers. Python, Ruby, Scala, or a more functional language. Maybe a rapid prototyping language. If you believe in mobile first, then Swift, or Objective-C, or Java. If you need to manipulate data then Python, R or Julia. If you believe that you should learn the "foundations" first (read: legacy language) you could go back to C. If you like the Microsoft ecosystem, C#. If you work with Excel (what a beautiful product) then VBA and so forth.

But if you want the first language, then I think the answer is simple: Javascript.

I think it is an ugly language, and I wish another language had become to dominant, but history is what it is. Its in the browser, and so it is everywhere. You have to work with it for the most interfaces anyway.

A little sooner, and I am sure this would start a mini flame war, but as it is, this comment is safely tucked down the chain.

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

#77

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.

Where can you run python on Mobile? Also, yes of course it's one vendor. One vendor that also has the world's most profitable app store. OP asked for a language to get started with. In my personal experience, being able to see items move on screen is a lot more intriguing to beginners than doing some server specific tasks like building an API.
Post reply on HN