I came across this great comparison chart between Python & Ruby.
I'm looking for a programming language that is truly a blend between Python and Ruby (with a slight lean towards Python).
I really like in Ruby that everything is an object (unlike Python). However, I really like in Python that things are immutable, so that code maintenance is much easier as well as built-in Unicode support (unlike Ruby).
Does anyone know of a good programming languages that has the best of both Python and Ruby.
I've attempted to make a feature listing below.
Language Features
Everything's an Object YES***
Namespaces yes
Constants YES***
Generators yes
Iterators yes
Coroutines yes
Continuations no
Classes
Multiple Inheritance NO***
Interfaces no
Class Includes* no
Nested Classes yes
Properties yes
Operator Overloading yes
Functions
First-Class Functions yes
Anonymous Functions yes
Keyword Arguments yes
Closures yes
Decorators yes
Collection Objects
Tuples NO***
Lists yes
Hashes yes
Strings
String Type yes
Char Type no
Symbol Type no
Immutable yes
Interned yes
Heredocs no
Multiline Strings yes
Unicode Support yes
Regular Expressions
Regex Literal no
Named Groups yes
Lookaheads yes
Lookbehinds yes
Yes/No Pattern yes
Unicode Support yes
Lua looks interesting, though I'm having a difficult time finding enough information on it to determine if it's a good middle language between Python and Ruby.