3 ms·
I use a combination of things, depending on the nature of the temporary measure. I use TODO comments to document that this part of the code needs to be revisit
by JohnFen 3y ago
I use a combination of things, depending on the nature of the temporary measure.
I use TODO comments to document that this part of the code needs to be revisited.
I write a warning to the log file whenever the temporary code executes.
If there are things left unimplemented, but there's an interface to them, then I put code in that's guaranteed to fail at runtime. If the language is C or C++, I'll use something like assert(false).