Linked by Eugenia Loli on Mon 18th Jul 2005 03:38 UTC
General Development The rules of C++ are designed to guarantee that type errors are impossible. Casting, however, subverts the type system and can lead to pesky errors in compiled code. This chapter explains why it's a good idea to forgo casting as much as possible in C++.
Permalink for comment 6108
To read all comments associated with this story, please click here.
It's bad
by deathshadow on Tue 19th Jul 2005 10:57 UTC
Member since:

When a language is so convoluted that using type-casting can LEAD to errors...

But then I still say that C and it's cryptic cousins exists for the sole purpose of prolonging the notion that programming is difficult... Hell, ASSEMBLY is easier than regular C, much less C++.

Reply Score: 1