Comment by Konohamaru
6 years ago
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.
No comments yet
Contribute on Hacker News ↗