Hacker News new | past | comments | ask | show | jobs | submit login

How does auto improve performance? Doesn't it just expand to whatever type a human would have manually had to put there in the first place?



It allows automatic generic specialization in some cases by the compiler, as you don't have to do template-fu or use a nonspecific type or manually write multiple specializations.

Plus it usually makes the code cleaner by focusing on structure not types. As any construct, it can of course be abused.




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

Search: