Oh my! Ruby sounds good!

Have we missed out a golden opportunity to learn a beautifully clean code?

Have a look at these examples:

h5.times { print “Odelay!” } means to print Odelay! 5 times
exit unless “restaurant”.include? “aura” means to exit program unless the word restuarant contains the word aura

There’s still chance to use this though! It’s up to us whether we are willing to commit to learn a(nother) whole new language paradigm.

Check out this site for a great tutorial on Ruby!

Advertisements
Posted in Uni

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