[#2367] Standard libraries — Dave Thomas <dave@...>

From ruby-dev summary:

60 messages 2004/02/11

[#2397] PATCH: deprecate cgi-lib, getopts, importenv, parsearg from standard library — Gavin Sinclair <gsinclair@...>

Index: cgi-lib.rb

15 messages 2004/02/12

[#2465] PATCH: OpenStruct#initialize to yield self — Gavin Sinclair <gsinclair@...>

This is a common approach I use to object initialization; I don't know

24 messages 2004/02/19

Re: Standard libraries

From: "Sean E. Russell" <ser@...>
Date: 2004-02-12 13:44:15 UTC
List: ruby-core #2401
On Thursday 12 February 2004 04:37, Gavin Sinclair wrote:
> Besides, interfaces don't change often, after the software is a little
> mature.  Method signatures of *implementation* (private, or in non

Heh.  Famous last words.

Anyway, on of Ruby's features is a lack of static typing.  Unfortunately, this 
makes it impossible for a tool to determine the type of arguments and 
methods, so this shifts the burden of documentation on the developer.  
Basically, the code duplication that Hiroshi is complaining about is required 
for good documentation, because there's no other way of extracting 
constraints information from the source code, except by reading it by hand.  
I really don't want to force users to understand all 4,600 lines of REXML 
just to use it; that defeats the purpose of it.

-- 
### SER   
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido
### http://www.germane-software.com/~ser  jabber.com:ser  ICQ:83578737 
### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg

In This Thread