On Mon, Nov 08, 2004 at 03:03:42PM -0700, Jamis Buck wrote:
Being one of the resident Ruby bigots, I couldn't let this opportunity slide... :)
10.times { |i| puts i }
I don't know about the rest of you, but the ``everything is an object'' paradigm just gives me goosebumps...
Me, too, but I'm not sure if (in your case, given the rest of your post) those are goosebumps of ecstacy or horror. :) For me, ecstacy, definately.
(0...10).each do |n| puts n end
On the other hand, Ruby's pseudo-functional behavior makes be feel all icky inside. I think I'll stick with an impure functional language rather than an impure imperative language.
You've obviously learned more about Ruby than most anti-Rubyists, and I respect you for that. You, at least, have a very informed opinion.
For me, Ruby's syntax "clicks". It certainly won't do so for everyone. I think one mistake that many <insert-language-here> bigots make is to think that <insert-language-here> is "perfect" or that it ought to click for everyone. There's no such thing. Find what works for you, and go with it.
For a fun interpreter warning, give this a try with version 1.8.2, then infer what you will of it:
def t(a) a+1 end def u() return t 1 end
You have an odd definition of "fun". :) True. The ambiguities due to (lack of) parentheses can result in warnings that are hard to track down. Also, matz admitted on the ruby-talk list just today that the interpreter warnings regarding parentheses probably need to be revisited. They aren't entirely consistent. (For example, the above should probably not give a warning.)
And when you can compile Ruby into a native binary (no, JIT doesn't count), please drop me a line.
Gladly! You aren't the only person anxious for that.
- Jamis
Mike
.___________________________________________________________________.
Michael A. Halcrow Security Software Engineer, IBM Linux Technology Center GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D
If this is flashing then you're a winner!
------------------------------------------------------------------------
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- Jamis Buck [EMAIL PROTECTED] http://www.jamisbuck.org/jamis
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
