我在寻找一种真正融合了Python和Ruby(稍微倾向于Python)的编程语言。在
我非常喜欢Ruby中的一切都是一个对象(不像Python)。然而,我非常喜欢Python中的东西是不可变的,这样代码维护就更容易了,而且内置了Unicode支持(不像Ruby)。在
有没有人知道一种好的编程语言,它兼有Python和Ruby的优点。在
我试图在下面列出一个特性。在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看起来很有趣,不过我很难找到足够的信息来确定它是否是Python和Ruby之间的一种好的中间语言。在