Hacker News new | ask | show | jobs
by fc417fc802 388 days ago
Implicit conversions in general are a very common source of bugs. C(++) implicit widening and narrowing and other such things have bitten me quite a few time. Instead of asking "why not allow" you should instead ask "why allow" and only implement such things when there is a compelling case for it.
1 comments

Skill issue?
As are memory safety bugs. You still probably ought to use smart pointers unless you have a good reason not to.