Ruby vs Javascript Syntax

I’ve played around with three languages since starting to learn to code: Python, Ruby, and Javascript. Ruby and Javascript have become my main focus lately, but even with a narrowed field, I still get mixed up between the syntax of the two languages. Usually, when switching from one to the other, it takes me a while to “warm up” and get in the flow of writing code.

I made a few simple examples for myself to refresh my memory when switching between Ruby and Javascript.

javascript%2fruby%2fpython

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s