J
Jonathan Lee
Hi all,
does anyone have a good method for determining if some code is "expired"? Ideally, I could put something in the code like
#if __DATE__ > "01/01/2015"
#warning "Your code is old and is due for maintenance/rewrite"
#endif
But that obviously doesn't work. The idea is that in a couple years I should at least /look/ at the code to see if it should be cleaned up, refactored, etc.
How do people usually handle this?
Thanks for any advice
--Jonathan
does anyone have a good method for determining if some code is "expired"? Ideally, I could put something in the code like
#if __DATE__ > "01/01/2015"
#warning "Your code is old and is due for maintenance/rewrite"
#endif
But that obviously doesn't work. The idea is that in a couple years I should at least /look/ at the code to see if it should be cleaned up, refactored, etc.
How do people usually handle this?
Thanks for any advice
--Jonathan