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

This is highly personal. Best would be to have an IDE that shows the concrete types if desired by the user. In VS you can hover over a variable but permanent display would be nice too



IntelliJ shows hints for inferred types.


As a data point: I use Scala + IntelliJ and I've personally actually turned this off. If you have a half-way decent type system I tend to find that it just gets in the way -- at least if things have reasonable names.

(This is obviously a very personal preference and depends on whether it's a code base you're already familiar with, etc. etc.)


Running experiments would give us data on whether it is personal or not, and to what degree.

I know a lot of teams that conduct code reviews outside of the IDE, so your suggestion wouldn’t help those cases.




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

Search: