From: Jim Weirich Date: 2005-01-30T09:23:42+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby On Saturday 29 January 2005 06:38 pm, Navindra Umanee wrote: > I think you can, and I think LS was right when he said there was *no* > strong typing in Ruby. The problem is that everyone has their own definition of "Strong Typing". Some take it to mean that you can, by mere examination of the source code, make sure that you never perform an inappropriate operation upon an object. Others take it to mean that any inappropriate operation will be detected and appropriately reported (e.g. via an exception). Ruby is strongly typed according to the latter definition. Few languages are strongly typed according to the first definition. Java is close, Eiffel is even closer, but both rely on runtime type checking to some degree. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)