Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>> C++ started this with "auto",

C++ most certainly did not start this. It had been in ML (orginally developed by Robin Milner) for decades. It has been a feature of every ML derived language, and Scala had it back in 2004.



I think Animats was referring to the

> forward inference of types within functions, while declaring them in function definitions.

part, not type inference in general.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: