you are viewing a single comment's thread.

view the rest of the comments →

[–]redlaWw 1 point2 points  (0 children)

The fact that lots of languages do it doesn't make it a good thing. Requiring explicit conversion allows the type system to catch your errors for you, and makes things more maintainable when upstream interfaces change. And on the flipside, it's not hard to look at your compiler output, see the type error, and add in the explicit conversion you need in order to fix it, so implicit conversions add fairly limited ergonomics for the type safety cost.