3 ms·
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
by allisdust 4y ago
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.
- SemanticStrengh 4y agocompletely off topic, a smaller type to a larger type can never be an issue.
- yencabulator 4y agoWhen the invisible conversion happens changes the end result. It can still be very tricky.
- SemanticStrengh 4y agoE.g on function parameters. It's always pass by copy, there can't be an issue.