[EMAIL PROTECTED] (Michael G Schwern) writes:
> If you want a tactile grasp of the "Everything is an object" concept, try
> some Ruby.

If you want a tactile grasp of Perl 6, try some Ruby. But I'll be saying
a lot more on that later...
 
> A flip through the Ruby builtin methods is nice for building up some envy. :)
> http://www.rubycentral.com/book/builtins.html

I vaguely object to calling them builtins, as I've objected to similar
concepts in Perl 6. They aren't *built in* to the language - you could
add another method and the parser wouldn't give a damn - they are
methods of the standard libraries that ship with Ruby. This
distinction is important, despite what Damian would have you believe.

In the same way, the specification of C-as-a-language, its syntax and
operators and the stuff that makes it look, act and feel like C, is
agnostic of the C standard library. (Even though "ANSI C" specifies
both, they are seperable.) This seperability is something I'd like
to see thought about a lot more in Perl 6.

> There's lots of reasons to use an operator or built-in instead of a method,
> but remember to make the consideration first.  Don't go grammar happy.

Yes, yes, yes. This is what I've been trying to say for a while.

-- 
"If that makes any sense to you, you have a big problem."
                -- C. Durance, Computer Science 234

Reply via email to