How does Ruby fare in terms of a means to code distributable applications? I'm new to programming and have been working with Python, but something about Ruby attracts me.
Rubygarden says it will have more overhead than C++, but I don't think I'm ready to learn C++, especially working more with Mac/Linux.
Is there any PyObjC-esque extenstion to Ruby?
Name:
Anonymous2006-08-02 20:17
Stop the compiled python circle jerk. IT ISNT FAST IT IS JUST PRE-PARSED.
No it won't replace java. Java scales. Ruby doesn't. Java has great namespaces. Ruby has hack namespaces (import filename HURRRRR). Ruby lacks the maturity to achieve the kinds of Java does. Ruby even sucks at GUI programming (UNLESS YOU COUNT ROR). Java has libraries which can generate Swing GUIs and AJAX GUIs at the same time with the same code.
What's wrong with import filename? Files have a name for a reason. Ruby lacks maturity, but Java has proven time or popularity doesn't bring maturity either, let alone decency. Java sucks at GUI programming too. Also >>12 . Swing is an enterprise solution.
Name:
Anonymous2006-08-04 3:43
HTML will replace C++ and Java and Ruby and Brainfuck.
Name:
Anonymous2006-08-04 9:38
If you are currently using Python, I don't think there's any particularly good reason to learn Ruby unless you *really* want to. I actually "switched" from Ruby to Python after many years of Ruby use.
The Ruby equivalent of PyObjC is called RubyCocoa, but it isn't nearly as polished as PyObjC.
Name:
Anonymous2006-08-04 9:55
Ruby has a nicer syntax than Python, but damn it's slow. And no unicode? :(
Also, those regex suck. Matz was bright enough to rip off some ideas from Perl, but mandatory sub/gsub() is !@#$%^ retarded. I want my s///!
Name:
Anonymous2006-08-04 11:30
>>17
Nicer syntax: Disagree, looks kinda ugly
Slow: Agree, though not TOO important (still important)
No Unicode: Shit sux, major disadvantage
Regex: Don't know how they are in Ruby; Python's infuriated me so I wrote a wrapper for them which I'm still evolving into the simplest possible thing