2 ms·
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. I
by fc417fc802 1y 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.
- tantalor 1y agoSkill issue?
- fc417fc802 1y agoAs are memory safety bugs. You still probably ought to use smart pointers unless you have a good reason not to.