Regg Mr wrote:
Before I get flamed, I just want to start off by saying that I am new to
Ruby and I really enjoy this language and want to see it succeed.
But, what niche does this language fill?
Since you’re on a Rails list, certainly one niche it fills is the niche
occupied by agile methodology for developing Model-View-Controller web
These are serious question, not a put down of the language.
Does it has something to offer for Web 2.0?
Web 2.0 is a buzzword more than anything else.
Is it just another scripting language?
It certainly started out as a scripting language, but when I look at the
language now (1.8.4) it seems more like a general-purpose
object-oriented programming language. The only thing in Ruby that I
think would put it in a “scripting” class is the fact that it contains
built-in regular expression processing, like Perl.
Does it suppose to replace something else?
Not that I know of. Billions of lines of code exist in other languages
– C, Perl, Python, Java, Lisp, Fortran, PHP, … There isn’t much
reason for those lines to get rewritten as long as their owners can find
programmers who know the languages.
New code, on the other hand, is a whole different story. Most of the
programming I do is in a specialized domain, computational mathematics
and statistics. For that purpose, I mostly use R and occasionally Axiom.
And I still maintain a fairly large base of Perl scripts that I have
written over the past ten years or so – well before I knew of Ruby’s
existence. My preference for new non-numeric code now would be Ruby.
Does it suppose to work with something else?
It works on its own or with most anything else. See “Enterprise
Integration with Ruby” for some of the “anything else”.
Why would someone use Ruby over something else?
Because they get paid to do it, because they enjoy doing it, or because
their parents forbade them to.
What’s it’s purpose?
I’ve read that it is the successor to Java, how is that without native
GUI handling and without ODBC/JDBC database handling?
There is actually a “native” Ruby GUI, an interface to the Tk toolkit
similar to Perl/Tk. Most other toolkits, like Fox and QT, have Ruby
bindings. And there are numerous Ruby interfaces to databases, including
the free ones – MySQL, SQLite, PostgreSQL – and Oracle, MS SQL Server
and probably Sybase too.
M. Edward (Ed) Borasky