Java. Despite what you may hear about it, this remains the number one or two (depending on who you ask) language in use. It has a HUGE amount of libraries available and the standard library (SE and EE) cover a lot of ground.
Ask HN: If I learn one programming language, what should it be?
21–30 of 48 posts
Re: Ask HN: If I learn one programming language, what should it be?
#22Earlier quoted context omitted.
I agree. A lot of people have adopted it and there's a large community. Perfect for someone starting out. You will be googling/stack overflowing a lot so its good to know there are a lot of resources behind it. Plus you know th e language is growing not dying.
I really appreciate the feedback. JavaScript is supposed to be complicated. Let's say I study 20 hours a week for three months. Can I get off the ground with it?
Re: Ask HN: If I learn one programming language, what should it be?
#23While I hate actually using it for production tasks, I have to admit that Python is the best language ever to learn. Its syntax doesn't really get in the way at all and it is extremely understandable. It's also widespread.
Why do you hate using Python for production tasks?
Re: Ask HN: If I learn one programming language, what should it be?
#24Earlier quoted context omitted.
I really appreciate the feedback. JavaScript is supposed to be complicated. Let's say I study 20 hours a week for three months. Can I get off the ground with it?
Having taught javascript to coworkers who were proficient in other languages (c++, c#, ect), javascript was confusing to them since many things act differently in javascript from other languages. That said, with the availability of online help and tutorials, you could definitely get off the ground with it, but it will give you a very different experience than something like python. Depends if you are more interested…
Re: Ask HN: If I learn one programming language, what should it be?
#25Earlier quoted context omitted.
I really appreciate the feedback. JavaScript is supposed to be complicated. Let's say I study 20 hours a week for three months. Can I get off the ground with it?
JavaScript is kind of ugly in some ways, but not really complicated. You could easily pick up the basics in that time frame. I've heard people say good things about this book: http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockfor... But I've never read it myself.
Re: Ask HN: If I learn one programming language, what should it be?
#26Python 3. It is fairly simple to learn. It is cross-platform. It is suitable for server-side programming. It has an extensive standard library and an active ecosystem for additional libraries. It has IPython. It uses, and therefore helps you learn, but does not force object-oriented programming. It has enough functional programming to let you explore that concept. It is widespread and easy to find support for. It has…
Thank you for the detailed reply! A number of comments here favor Python for ease of entry and utility. Do I understand correctly that Java is important, but with a much steeper learning curve?
And with Java, you're probably going to need a heavyweight IDE instead of just being able to use a plain text editor or a REPL or other interactive environment (which Java doesn't have).
Re: Ask HN: If I learn one programming language, what should it be?
#27There's no point in only learning one language. If you can only program in one language, you literally can't program.
I've had the same thought myself. However, I'm willing to take the risk. Besides, one thing leads to another.
At best, stopping at your first language will give you a false sense of competence that will lead you into making poor decisions.
By all means, learn a first programming language. But, which you choose doesn't much matter, because you'll need to learn a second and a third before you start to understand what it's all about.
Re: Ask HN: If I learn one programming language, what should it be?
#28If web, you might go after JavaScript and some back end language (you already have some PHP background), plus HTML and CSS. Build a simple Web site.
If mobile, pick your poison. Many mobile startups start with iOS. Now is a great time to learn iOS since Swift lowers the barrier to entry significantly. If you're going after the larger Android ecosystem, then Java. Android also has the advantage that you can develop on other OS'es like Windows.
I would also recommend getting a great book and working though the examples. Then supplement with what you can find on the Web.
Good luck learning and with your startup!
Re: Ask HN: If I learn one programming language, what should it be?
#29Re: Ask HN: If I learn one programming language, what should it be?
#30Earlier quoted context omitted.
I agree. A lot of people have adopted it and there's a large community. Perfect for someone starting out. You will be googling/stack overflowing a lot so its good to know there are a lot of resources behind it. Plus you know th e language is growing not dying.
I really appreciate the feedback. JavaScript is supposed to be complicated. Let's say I study 20 hours a week for three months. Can I get off the ground with it?
JavaScript really is the way to go to get your feet wet just because it'll give you the experience to build a wide range of platforms such as: Mobile (Cordova, Appcelerator, React Native), Desktop (AngularJS, RequireJS, Dojo, jQuery, Vanilla JavaScript/ECMAScript 6), and Server Side (NodeJS - basically you don't need to learn a front end and back end language).
But still, you should definitely learn one of the more traditional languages at some point in time, especially if you're doing this for a living.
And I would recommend just figuring out something you want to build and just build it. Focus on building and everything will start coming together. You should definitely study, but studying alone will not get you anywhere unless you apply it. And if you're planning on doing this for a living, nothing beats being able to show potential employers your previous projects.
As for your plan, that's definitely enough time. You will definitely get somewhere with it!