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

Regarding the delete feature, can one not just raise in C++ for a deprecated/deleted function?


The concept of doing something at runtime that could be done at compile time is anathema for c++ programmers.


You could but why when we already know at build time that the function is deleted or deprecated and better yet know exactly where.

runtime errors when in a rare path are often never tested until a customer hits that rare case. this is on of the reasons I won't use python for a larga project, eventually you will have critical errors in production because not only didn't you test the code but you didn't even get the minimun proof that it works that a compiler provides.


> not only didn't you test the code

That's why I won't use C++ programmers in a large project




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

Search: