[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:02065] Re: A thought

From: Andrew Hunt <andy@...>
Date: 2000-03-21 21:45:42 UTC
List: ruby-talk #2065
    >* method definition outside a class (which would normally be class Object)
    >* no function calls (only method calls)

These features aren't so bad; the implicitly global Perl-like
variables ($! and such) I think are much worse.

    >* self is required rather than assumed

Whoa!  I strongly disagree with this.  One of the big things
I hate about Python is having to preface everything with self
this and self that.  

Above all else, Ruby should be a *convenient* language.  As 
object-oriented as possible, but not at the sake of convenience.

    >Or is this idea not useful...?  Or is this idea better for a ruby-lint program?

No, I think its a good idea -- some sort of "strict" mode
to catch (and punish :-) procedural thinking.

/\ndy


--
Andrew Hunt, The Pragmatic Programmers, LLC.
Innovative Object-Oriented Software Development
web:   http://www.pragmaticprogrammer.com   email: andy@pragmaticprogrammer.com
--
Our New Book: "The Pragmatic Programmer" Published by Addison-Wesley Oct 1999
              (see www.pragmaticprogrammer.com/ppbook)
--

In This Thread

Prev Next