CSC/ECE 517 Fall 2009/wiki1a 11 AS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 40: | Line 40: | ||
== Projects better suited for Ruby == | == Projects better suited for Ruby == | ||
== Projects better suited for Python | |||
== |
Revision as of 00:49, 5 September 2009
Ruby vs Python
Definition of Ruby and Python
Ruby is a dynamic, reflective, general purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Differences in their language features
The first thing to be noted in Ruby is that in Ruby everything is an object, whereas in Python you have the liberty to code without using objects.
// include example here
In ruby, the programmer can use blocks to extend the language for application specific control statements where as in Python you are supposed to use only the control statements provided by the language.
Differences in Programming Environment
What Ruby has and Python does not have?
What Python has and Ruby does not have?
Advantages over statically typed languages
Projects better suited for Ruby
== Projects better suited for Python
==