Ruby or JavaScript?

81868090

Which Programming Language to choose to learn first?  As I said in this post, I’ve received opposing advice from more knowledgeable peers about which might be easier and why.  I need to figure out which language is easier for me, and start there.

I thought it might be helpful to break down what I know about each so far.  I can not boast feeling very knowledgeable about either, but I have done some pieces of tutorials for both.  So far, it’s not too confusing to do both at the same time.  In fact, it’s helpful!  Both tutorials contain the same vocabulary, for example Math, Strings, and Functions. Those are some of the things that you can write using JavaScript or Ruby.  Learning about those and other basic components of coding in two different languages is actually helping me feel like I can understand them more deeply.  Each tutorial explains them differently, so each new explanation provides a little more depth to my thinking.

I can’t yet say which I think will be easier to continue with, but I can simply say that I’m understanding more, making coding in general feel easier.

Here’s a snapshot of some differences, thanks to resources from Github, Codecademy, and TryRuby.org.


Math is probably the most basic thing you can do with programming, so possibly the easiest to understand for complete beginners or non-code types:

Ruby                                                                                              JavaScript

Screen Shot 2014-10-12 at 1.36.30 PM


Continue reading