Hello --


Robert Najlis wrote:
>
> > Am I doing something wrong (maybe - I am pretty new to Ruby)?  it seems
> > that many time when I want to geet a numerical value out of a variable,
> > I need to make it a String first, and then use the .to_i function   ->
> > "#{count}".to_i

[later:]

> I really like Ruby in many ways but.... this is really ugly!  I can't see
> why in the world I would want to program this way. Can someone explain why
> this is good.  I like the idea of dynamic rather than static typing, but I
> would deal with static typing rather than this.  Does Smalltalk operate in
> this manner?   I have not yet had time to program a project in Smalltlalk,
> though it is something I plan to do soon.  I don't think it has these
> problems, but if it does... well, Java is not THAT bad...

I'm not sure what you're saying is ugly.  You would never have to do the
thing you originally asked about.  Is the "this" in that last paragraph
something else?  Maybe we can clear it up further.


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav