Final by default?

monarch_dodra monarchdodra at gmail.com
Fri Mar 14 13:51:08 PDT 2014


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?


More information about the Digitalmars-d mailing list