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

To clarify, I'm not arguing for "X x" over "x : X", I'm arguing for "x : X" over "x: X".

If you had to write it in the form "a: b", however, "X: x" would make as much or more sense to me as "x: X".




Putting the type first would be weird in languages that do type inference. Because there you sometimes leave out the type info, but need to add it occasionally. Then it makes sense to append it, rather than pre-pend.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: