On Friday, 14 March 2014 at 20:51:09 UTC, monarch_dodra wrote:
On Friday, 14 March 2014 at 20:45:35 UTC, Paulo Pinto wrote:
Am 14.03.2014 19:50, schrieb H. S. Teoh:
The real code had been moved elsewhere, you see, and
whoever moved the code "kindly" decided to leave the old copy
in the
original file inside an #if 0 block, "for reference",
whatever that
means. Then silly old me came along expecting the code to
still be in
the old place, and sure enough it was -- except that
unbeknownst to me
it's now inside an #if 0 block. Gah!)
T
Ouch! I feel your pain.
This type of experience is what lead me to fight #ifdef
spaghetti code.
--
Paulo
I hate code "commented out" in an "#if 0" with a passion.
Just... Why?
Because one does not know how to use git.
PS: This sarcastic note also exists with mercurial flavor.