> I'm afraid it requires static type information, which Ruby does not have.

Does it really? What about typos? E.g. someone "defines" a param
NavigationDefinition but refers to it as NavgationDefinition. Why do we have
to find such errors at runtime?

Don't get me wrong. At time of this writing this concerns all scripting
languages.

Finding type mismatches seems to me requiring static typing. But that's step
two - 1st one has to find all his typos.

Regards
Franz GEIGER


Yukihiro Matsumoto <matz / zetabits.com> schrieb in im Newsbeitrag:
E13lNEc-0003Nd-00 / ev.netlab.zetabits.co.jp...
> Hi,
>
> In message "[ruby-talk:5619] lint?"
>     on 00/10/17, "Swit" <swit / spam.com> writes:
>
> |Is there something like lint for Ruby?  I'd like to find NameErrors
before
> |runtime.
>
> I'm afraid it requires static type information, which Ruby does not have.
> Enlighten me if anybody have a good idea.
>
> matz.
>