[#1263] Draft of the updated Ruby FAQ — Dave Thomas <Dave@...>

33 messages 2000/02/08

[#1376] Re: Scripting versus programming — Andrew Hunt <andy@...>

Conrad writes:

13 messages 2000/02/15

[#1508] Ruby/GTK and the mainloop — Ian Main <imain@...>

17 messages 2000/02/19
[#1544] Re: Ruby/GTK and the mainloop — Yasushi Shoji <yashi@...> 2000/02/23

Hello Ian,

[#1550] Re: Ruby/GTK and the mainloop — Ian Main <imain@...> 2000/02/23

On Wed, Feb 23, 2000 at 02:56:10AM -0500, Yasushi Shoji wrote:

[#1516] Ruby: PLEASE use comp.lang.misc for all Ruby programming/technical questions/discussions!!!! — "Conrad Schneiker" <schneiker@...>

((FYI: This was sent to the Ruby mail list.))

10 messages 2000/02/19

[#1569] Re: Ruby: constructors, new and initialise — Yukihiro Matsumoto <matz@...>

The following message is a courtesy copy of an article

12 messages 2000/02/25

[ruby-talk:01377] Re: Say hi (bis)

From: Pixel <pixel_@...>
Date: 2000-02-15 12:37:51 UTC
List: ruby-talk #1377
Dave Thomas <Dave@thomases.com> writes:

[...]

> > -- no type checking (really, there could be a mode paranoid that
> >    would catch most typos)
> 
> Personally I think that's a big plus ;-) However your could write (in
> Ruby) a set of functions that (say) enforced types on a collection
> class: given a template class you could create new classes with the
> template instantiated.

that wasn't my point, stuff i want mainly is _compile-time_ checks.

eg:

def fact(n); n==0 ? 1 : n * fact(n - 1); end

can be *infered* as Fixnum -> Fixnum


i know this analysis restrict the power of dynamic-typing, but i'm really sure a
lot of typos can be catched by using this rubylint stuff. You must see it as
saying ``Hey, strange stuff here''. Then just have a quick look at those strange
points...

i do know things like:

i = 1
i = "beurk"

restrict the usefullness as either you rule this out, either you infer i of type
Comparable (aka common superclass of Fixnum and String)

i did start doing that kind of analysis for perl (there u see i'm crazy, no?)
but had to stop cuz of non-orthoganalities everywhere ;-)


> Welcome to the list--and thank you for the thoughtful points.

thanks for being nice with poor novice..

In This Thread