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

The default type is always any (or dynamic, as some call it). No need to type everything. Usually you type just some args. Not even locals.

And some types can be inferred by the compiler, as e.g. for new instantiators. Or array, int, str convertors.



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

Search: