Re:Why Python is Slow: Looking Under the Hood
by gizmo686 on Friday May 09, 2014 @04:18PM
(#7723051)
There is no reason you can not have something like "variable = int(variable)" in a strongly typed system. In fact, Haskell lets you do (essentially) this by shadowing variables. This particular example wouldn't work, because Haskell would view it as a recursive definition, but there is no reason you couldn't design a language so that the asignee side looks at the pre-shadow variable.
[ Parent
| on HN ]
There are no comments on this comment yet.