Live data from Hacker News

What's the best programming language for a hobbyist?

news.ycombinator.com

11–20 of 33 posts

Re: What's the best programming language for a hobbyist?

#11
That really depends on what's exactly your "Hobby". I'm a hobbyist myself, but I'd like to study Computer Science (I actually like the SCIENCE in computing.) and become a Software Developer.

But I'm not in College yet, so I'm a "hobbyist", people are suggesting Python: I'd say it's a great language, specially as first language or language for scripting... but you should try other ones too.

Given that you are a hobbyist you want to have fun, learn new things: Try Prolog, Scheme, Haskell, whatever.

I'm not a big fan of Ruby myself: Python does better in the desktop and I like Django (Python web framework) more than Rails. Although Ruby is nice as language too.

Re: What's the best programming language for a hobbyist?

#13
The language which moves my brain the most is Lisp. It's built around pointers and memory locations but garbage collection, cons, and car take away the tedium I associate with C. The REPL provides the instant gratification of instantaneous frustration while pondering the possibilities of macros offers a mental infinite loop.

But what is really great about Lisp when it comes down to it is the literary tradition. I just haven't seen another language which comes close. There isn't a Richard Gabriel for Fortran.

Re: What's the best programming language for a hobbyist?

#16
Lua. Its an excellent language, easy to learn, easy to use - and you can put it to use in so many places, that it would also become a highly sophisticated tool for you, should you decide to get above the hobbyist level.

Check out things like MOAI:

http://getmoai.com/

and LOAD81:

http://github.com/antirez/load81

Re: What's the best programming language for a hobbyist?

#17
I'm going to swim against the tide here and suggest that you might want to go back and play with Pascal some more. Pascal was the third programming language I learned (after machine language and Algol) and after all these years (including decades of working professionally with C, C++ and Ada) Pascal is still the language I have the fondest memories of. I loved it because it was simple and elegant and I could get my mind all the way around it (something I was never able to do with Ada).

There are still implementations of Pascal available, including Free Pascal and GNU Pascal. For more information about implementations, check out the Wikipedia article on "Pascal programming language".

Alternatively, if you want to get a solid foundation in Computer Science and algorithms, I would suggest you work your way through "Structure and Interpretation of Computer Programs" (abbreviated SICP). This was the textbook used for years at MIT for their introductory computer programming course, and the course materials are still freely available as part of MIT's Open Courseware program. I personally prefer the original version that used the Scheme programming language, but you could also go with the updated version that covers the same material using Python.

Edit: There are easier courses out there, but I think this one is the best if your are serious about getting a solid foundation in Computer Science.

Re: What's the best programming language for a hobbyist?

#18
post #3

What's your hobby? If web development I'd look at Python, Ruby or JavaScript. If systems type stuff then Python, Perl or C. If you wanna be a hobby kernel hacker then C. If games, well. I don't know.

For games, I would recommend C++, C#, or Java. They have good libraries for games already created. C++: SFML and SDL C#: OpenTK and XNA Java: LWJGL and Slick (Which uses LWJGL)

Re: What's the best programming language for a hobbyist?

#19
Depends on what the project is. If I'm building a web app, then Ruby or Python. A mobile app is Java (android). A local script that does not need to be blazing fast or light is done with Python. If I need to deal with a lot of text then Perl. And I just want to get something done and have fun with it then Common Lisp.

Re: What's the best programming language for a hobbyist?

#20
post #7

Another point to consider: Would you want to be able to easily show off what you created? Then you should likely do HTML5/CSS/JavaScript so you could put it on your phone. Who knows? Maybe you will come up with an app idea that's commercial and you'd be set.

I do work with these everyday (JS HTML CSS) but the JS I write is basic and can't really be considered proper JS (in my opinion). I think you are right and I could give it a go... probably do a Win8 App and get the grips on JavaScript and then move towards a functional language (like Haskell or Lisp as someone else suggested).
Post reply on HN