[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: A question of type assertion
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 9 Nov 2015 20:32:12 -0200
> Now here is a hypothetical question - if Lua had been statically typed
> language - what would the ideal expression be for this kind of type
If Lua was statically typed, it would know the type of the expression.
Either it has the correct type or the wrong type. In both cases type
coercion seems useless.