¡@

Home 

c++ Programming Glossary: smell

Is excessive use of this in C++ a code smell

http://stackoverflow.com/questions/1057425/is-excessive-use-of-this-in-c-a-code-smell

excessive use of this in C a code smell I'm dealing with a large code base that uses the following.. further bugs don't quite merit a refactor. c this code smell refactoring share improve this question Your version is..

Object Slicing, Is it advantage?

http://stackoverflow.com/questions/2389125/object-slicing-is-it-advantage

a bug and if it's deliberate then it's probably code smell . But the answer might be yes OK this shouldn't really be how.. as they're written to the iterator. The reason it's code smell is that we should consider a rewriting ActiveSoldier and b changing..

What exactly is a reentrant function?

http://stackoverflow.com/questions/2799023/what-exactly-is-a-reentrant-function

while checking my code for reentrant capabilities You can smell a problem if your function has gives access to a modifiable.. persistent resource or has gives access to a function that smells . Ok 99 of our code should smell then... See last section to.. to a function that smells . Ok 99 of our code should smell then... See last section to handle that... So studying your..

In C++, is it still bad practice to return a vector from a function?

http://stackoverflow.com/questions/3134831/in-c-is-it-still-bad-practice-to-return-a-vector-from-a-function

performance. As a result the first form was a major code smell in C programming for a long time. Not anymore I hope c c 0x..

C++ initialize static variables in class?

http://stackoverflow.com/questions/5019856/c-initialize-static-variables-in-class

Is there a workaround To make them global would be a code smell in my opinion. c static initialization share improve this..

Performances of Structs vs Classes

http://stackoverflow.com/questions/5432681/performances-of-structs-vs-classes

Is it safe to `delete this`?

http://stackoverflow.com/questions/550189/is-it-safe-to-delete-this

object has self destructed. Also delete this is a code smell that your code might not have a symmetric strategy for object..

Disabling “bad function cast” warning

http://stackoverflow.com/questions/6676764/disabling-bad-function-cast-warning

somewhat as void foo MyClass const this byte Now you can smell the difference between them. Declare pointer to member function..

Use of “this” keyword in C++ [duplicate]

http://stackoverflow.com/questions/6779645/use-of-this-keyword-in-c

Possible Duplicate Is excessive use of this in C a code smell Using œthis in front of member variables in C When should you..