What is ruby?

上一篇 / 下一篇  2010-10-17 13:47:34 / 个人分类:Ruby

Ruby is "an interpreted scripting language for quick and easy objected-oriented programming"--what does this mean?

Ruby
interpreted scripting language
1. ability to make operating system calls directly
2. powerful string operations and regular expressions
3. immediate feedback during development

quick and easy
1. variable declarations are unnecessary
2. variables are not typed
3. syntax is simple and consistent
4. memory management is automatic

object oriented programming
1. everything is an object
2. class,method,inheritance,etc.
3. singleton methods
4. "mixin" functionality by module
5. iterations and closures

also
1. multiple precision integers
2. convient exception processing
3. dynamic loading
4. threading support


TAG:

 

评分:0

我来说两句

Open Toolbar