Ruby vs Other Languages

For anyone that has worked with another language, Ruby code will look remarkably similar. There’s actually a reason for this.

The syntax was designed to mimic popular languages like Python, Java, Perl and others. That’s because Matz, Ruby’s creator, wanted it to be easy to use for both novice and experienced programmers.

Some other things that stand out about Ruby are:

  • Everything has a value, even if it is “nil”
  • Symbols are not strings, but more like identities
  • Everything in Ruby is an object, including classes and integers
  • Ruby has variable constants
  • Ruby has strict naming conventions through global, instance, and class variables
  • Methods can have individual permissions; public, protected and private
  • Classes in Ruby can be opened, edited, and changed at any time

You can find a ton of other differences at the official Ruby portal.


Next, let’s explore How to Setup the Ruby Development Environment.

Recommended Training – Treehouse

TreehouseAlthough this site recommends various training services, our top recommendation is Treehouse.

Treehouse is an online training service that teaches web design, web development and app development with videos, quizzes and interactive coding exercises.

Treehouse's mission is to bring technology education to those who can't get it, and is committed to helping its students find jobs. If you're looking to turn coding into your career, you should consider Treehouse.

Read our full review of Treehouse…

Disclosure of Material Connection: Some of the links in the post above are “affiliate links.” This means if you click on the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.