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

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.


Skill issue?


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




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

Search: