[#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:02238] Re: Ruby and Eiffel

From: Quinn Dunkan <quinn@...>
Date: 2000-03-29 05:33:18 UTC
List: ruby-talk #2238
> Nearly complete novice question: is there any (possible) overlap at all
> between DBC (which AFAIK has something to do with specifying method
> preconditions, postconditions, and invariants) and the sort of _optional_
> type declaration stuff that is proposed/planned for Python 3000 (that is
> supposed to help produce more efficient code and help detect errors earlier
> on)?
> 
> Conrad Schneiker
> (This note is unofficial and subject to improvement without notice.)

Well, no one really knows what python has in store, but I'd guess it would be
along the lines of dylan's optional type declarations which provide
documentation, error checking, and efficiency.  DBC is more like structured
assertions, which don't necessarily have anything to do with types.  There was
a discussion a while back about DBC on c.l.py, and some people posted some
hairy metaclass stuff.

Speaking of dylan, I wonder what matz's impression of it is?  Was there any
influence?  They seem strikingly similar in many ways, except dylan has a
slightly different OO model with multiple dispatch, and macros, and the
ability to compile down to c++-speed code.

In This Thread

Prev Next