Advertisment

10 unique ruby language features

author-image
CIOL Bureau
Updated On
New Update

BANGALORE, INDIA: Learning Ruby is easy if you already know a programming language. But there are some ruby language features which can cause headache for a programmer migrating from C++ or Java. In this post, we will look at 10 interesting language features that are unique to Ruby.

1. Objects everywhere!

2. Blocks

3. Implicit return value in methods

4. In Ruby everything is open!

5. Missing unary operators in Ruby

6. Ruby supports parallel assignment

7. In Ruby strings are mutable

8. True and false in Ruby

9. Native support for ranges and regular expressions

10. Method indicators

Click here for more...!

tech-news