Re:Introducing MIR
by jeltz on Wednesday April 27, 2016 @08:46PM
(#11585844)
What about Crystal? It has quite extensive type inference.
[ Parent
| on HN ]
Re:Introducing MIR
by yokohummer7 on Thursday April 28, 2016 @01:00AM
(#11586634)
Unfortunately they also had to narrow down the scope of type inference recently. IIRC type annotations are now mandatory for class-level variables (member variables). This hindered the "Ruby-like" feeling, but they had to give up global type inference because it costed too much memory in some cases. I got an impression that global type inference is difficult (or, costly) in general.