Re: Ruby vs Java vs c++
by Eb other posts by this author
Nov 19 2006 7:25PM messages near this date
Re: Ruby vs Java vs c++
|
Re: Ruby vs Java vs c++
The one thing Ruby (and Python) have over C++ (and Java to
some extend) is that there is very little overhead in terms
of syntax to get started writing a program. You can just
get started, first in the interpreter to get your feet
wet and try out things, then later by putting programs
together in a source file.
No need to #include or import anything (well, I guess
Python/Ruby do something similar at times), no required main
functions/methods etc .. all that extra syntax (and in
case of C/C++ all that memory management, which can cause
endless headaches).
IMHO, for humans/programmers, languages like Ruby or Python
are much more productive tools than C++. They work at a higher
level and come with nice libraries to support the task at
hand - the programmer can concentrate on solving the problem
rather than worrying about arcane syntactic issues.
Using the above criteria, I would put Java somewhere between
Ruby/Python and C/C++.
Now, if low-level access to the machine is required, or
fast execution, C/C++ might be a better choice since it's
a compiled, rather than interpreted system, though there
are probably tools that would allow you to create executables
based on Ruby/Python (or perhaps not, I'm assuming here).
I was just recently taking another look at C++, and you can
easily see how it's C with C++ grafted on, it has some rather
"un-elegant" features because of it. I'm not taking anything away
from Bjarne S., he did a great job taking C and turning it into
an object oriented language and helping the OO paradigm to get
more widely accepted. Other languages learned from this
and improved on it, to wit Java and all those that came
after.
My background:
FWIW, I have been programming since 1980, plenty of assembly
(even some machine language for "fun"), Pascal, Ada, C, C++,
Java, C# etc .. my favorite languages currently are Ruby and Python.
If I have to develop for Windows with GUIs, VS w/ C#, most
of my code is written under Linux w/ emacs.
Sorry, this got to be longer than I had intended. Short version, if
you want to learn programming, and be productive, take a look at
Python and/or Ruby instead of C++.
EB
Thread:
N/A
Daniel Schausser
Paul Lutus
M. Edward Borasky
Paul Lutus
Gregarican
David Kastrup
Paul Lutus
Damphyr
Guido Sohne
M. Edward Borasky
Guido Sohne
Henry Maddocks
Eb
Gregarican
Raju Gandhi
M. Edward Borasky
Henry Maddocks
David Vallner
Henry Maddocks
M. Edward Borasky
Eb
Stef
Gregory Brown
Paul Lutus
Paul Lutus
Friedrich Dominicus
Joel VanderWerf
James Cunningham
Eb
David Vallner
Stef
Jon Egil Strand
Diego Virasoro
Hugh Sasse
Richard Conroy
Peter Hickman
Gabriele Marrone
David Kastrup
Charles D Hixson
M. Edward Borasky
Charles D Hixson
Spooq
CParticle
Ross Bamford
Friedrich Dominicus
Reid Thompson
M. Edward Borasky
Eb
Hal Fulton
M. Edward Borasky
Eb
Keith Nicholas
Spooq
David Vallner
Paul Lutus
Paul Lutus
dblack
Stef
Jim Cochrane
Charles D Hixson
M. Edward Borasky
Charles D Hixson
M. Edward Borasky
Stef
Stef
Stef
Stef
Stef
Paul Lutus
Stef
Paul Lutus
Mike Shock
Mark Shroyer
David Vallner
Charles D Hixson
M. Edward Borasky
Charles D Hixson
David Kastrup
M. Edward Borasky
David Kastrup
M. Edward Borasky
Phlip
David Vallner
Phlip
El Gato
Martin DeMello
Stef
M. Edward Borasky
Roseanne Zhang
Charles D Hixson
M. Edward Borasky
Roseanne Zhang
Stef
Stef
Paul Lutus
David Vallner
Chilkat Software
Charles D Hixson
Eb
M. Edward Borasky
David Vallner
M. Edward Borasky
N/A
N/A
Chilkat Software
Paul Lutus
Paul Lutus
Paul Lutus
M. Edward Borasky
Hal Fulton
Gregory Brown
_why
Matt Lawrence
|