[ruby-talk:00360] Re: thinking aloud

From: "Michael Neumann" <neumann@...>
Date: 1999-05-29 13:51:29 UTC
List: ruby-talk #360
----- Original Message -----
From: Klaus Schilling <Klaus.Schilling@home.ivm.de>


>  > >    1. will there ever be static type checking?
>  > >        or is that totally out of scope.
>  >
>  > Well, what sort of type-checking do you want, Bryce?  If you want
>  > typed variable, I don't agree that.  Because type-free variable is a
>  > essential feature of scripting languages, I'm believing.
>
> Some have optional type-safety.
> Pike , for example (it is used by a webserver called roxen challenger)
> uses type declarations, but it allows `mixed' as run-time scapehole
> type, so at the expense of performance and safety, runtime flexibility
> is possible to be achieved.
> Guile, a scheme variant, offers arrays of uniform type, which also
> leads to performance gain in case this is useful.
>
Type-safety could be perhaps implemented through instances of a special
class, which only allows one class to assign or do anything else.


Michael


In This Thread