Philosophy of Ruby
“Matsumoto has said that Ruby is designed for programmer productivity and fun, following the principles of good user interface design. He stresses that systems design needs to emphasize human, rather than computer, needs.”
INSTAllation
- Source code
- Third party tool
- Package management system
Arithmetic Operators
comparison operators
Assignment operators
Parallel assignment
bitwise operators
a = 60 or 0011 1100
b = 13 or 0000 1101
logical operators
ternary operators
Interpreted scripting language
- Ability to make operating system calls directly
- Powerful string operations and regular expressions.
quick and easy
- Variable declaration are unnecessary.
- Variable are not typed.
- Simple and consistent syntax.
object oriented
- Everything is object
- Class, Object, Method, Inheritance etc.
- "mixin" functionality by modules