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

Considering all the type casting bugs prevalent in other languages, I would have more trust in the compiler than programmers at this point. You can always pick javascript of course, which happily returns you what ever it feels like. Frankly this explicit casting makes the next developer's life easier.


completely off topic, a smaller type to a larger type can never be an issue.


When the invisible conversion happens changes the end result. It can still be very tricky.


E.g on function parameters. It's always pass by copy, there can't be an issue.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: