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

The author raised an interesting point with respect to syntax highlighting for types. I find the convention that literals be typed (ints, strings, etc...) to be inappropriate. That is very low-level and these should always be inferred.

Where typing should exist is at the level the author suggests, such as

* Iterators * List-like structures * Functions that return option types

and other more abstract structures.



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

Search: