Re: Literate style, making code more readable or going overboard?

Dale Emery <[email protected]> Wed, 10 Feb 2010 15:28:32 -0800
Newsgroups gmane.comp.programming.refactoring
Message-ID <[email protected]>
Hi Richard,

bool dontPrint = true;
>    // other stuff
>    if (someCondition)
>    {
>        dontPrint = false;
>    }
>    if (!dontPrint)
>    {
>        printDocument();
>    }
>

LOL. Ouch. LOL.

Dale


-- 
Dale Emery
Consultant to software teams and leaders
Web: http://dhemery.com
Weblog: http://cwd.dhemery.com


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/