> There are also some nice specials like blocks and
> mixins.Those aren't specials; they're core language features.
Specials = Feature which are not part of most OO programming languages.
Depends on the implementation. MRI is slow (I wouldn't say "terribly"
slow). Ruby EE and YARV are faster. JRuby is probably faster yet. All
are plenty fast enough for most general-purpose applications.
For really expensive algorithms it is terribly slow, sometimes you need static
C arrays or STL...
Any experiences with Rubinius?
Sorry, no. C++ looks inconsistent because it is: it's C with some
object orientation bolted on.> And please do not learn Java, it is simply a stupid language,
> inconsistent
> like C++, not as dynamic as Ruby and not as fast and not as many
> compile-time
> capabilities as C++.Java's more consistent than C++, and more portable. I don't much like
Java, but I'll use it over C++ any day. And of course the JVM is
fabulous when coupled with a *decent* language like JRuby.
Why is Java inconsistent?
-no compatibility between built-in and complex types (missing operator
overloading, complex datatype=dynamic memory...)
-inconsistent containers in stdlib (compare the operations of a built-in
array, a List and a Map)
-Not as much OOP as in Ruby
Of course C++ is also inconsistent, it is not so OOPish, but in my opinion it
is easier to live with C++'s inconsistence, it is sometimes ugly, but it is at
least no problem to change container-types or to switch between built-ins and
complex types.
···
------------------------
Operating System: GNU/Linux
Kernel: Linux 2.6.31.8-0.1-default
Distribution: openSuSE 11.2
Qt: 4.6.2
KDE: 4.4.62 (KDE 4.4.62 (KDE 4.5 >= 20100203)) "release 2"
KMail: 1.13.0