Click here to Skip to main content
15,891,431 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Just wondering Pin
Gary Wheeler26-Aug-15 2:47
Gary Wheeler26-Aug-15 2:47 
GeneralNever knew I was so OCD about code Pin
F-ES Sitecore26-Aug-15 0:56
professionalF-ES Sitecore26-Aug-15 0:56 
GeneralRe: Never knew I was so OCD about code Pin
HobbyProggy26-Aug-15 1:00
professionalHobbyProggy26-Aug-15 1:00 
GeneralRe: Never knew I was so OCD about code Pin
OriginalGriff26-Aug-15 1:05
mveOriginalGriff26-Aug-15 1:05 
GeneralRe: Never knew I was so OCD about code Pin
Ian Shlasko26-Aug-15 3:20
Ian Shlasko26-Aug-15 3:20 
GeneralRe: Never knew I was so OCD about code Pin
Mycroft Holmes26-Aug-15 13:07
professionalMycroft Holmes26-Aug-15 13:07 
GeneralRe: Never knew I was so OCD about code Pin
Sander Rossel26-Aug-15 1:16
professionalSander Rossel26-Aug-15 1:16 
GeneralRe: Never knew I was so OCD about code Pin
Johnny J.26-Aug-15 1:17
professionalJohnny J.26-Aug-15 1:17 
Most om my collegues would have done:
C#
public void SomeMethod()
{
    // do some things
    Method1();
    bool valid=Method2();
    if (valid)
    {
        Method3();
        Method4();
        // valid responses require us to do this
        Method5();
        Method6();
    }
    else
    {
        // response was not valid so do these things
        Method7();
        List<string> values=Method8();
        foreach(string value in values)
            Method8(value);
    }
}
public void SomeMethod2()
{
    // do some things
    Method1();
    bool valid=Method2();
    if (valid)
    {
        Method3();
        Method4();
        // valid responses require us to do this
        Method5();
        Method6();
    }
    else
    {
        // response was not valid so do these things
        Method7();
        List<string> values=Method8();
        foreach(string value in values)
            Method8(value);
    }
}

They don't care sh*t about organizing the code in logical readable blocks (the missing line feed between method bodies irritates me the most!), and how they manage to NOT have the code formatted with spaces, I can't begin to imagine, because my VS editor fixes that automatically when you terminate the statement with ";"

Like: MyMethod(0,1,2,3,4,5,6); instead of MyMethod(0, 1, 2, 3, 4, 5, 6);

I hate having to reformat other peoples code because they are too lazy, but my OCD requires it! Sigh | :sigh:
Anything that is unrelated to elephants is irrelephant
Anonymous
-
The problem with quotes on the internet is that you can never tell if they're genuine
Winston Churchill, 1944
-
I'd just like a chance to prove that money can't make me happy.
Me, all the time

GeneralCCC OTD (Clue 2 added) Pin
Duncan Edwards Jones25-Aug-15 23:04
professionalDuncan Edwards Jones25-Aug-15 23:04 
GeneralRe: CCC OTD Pin
chriselst25-Aug-15 23:05
professionalchriselst25-Aug-15 23:05 
GeneralRe: CCC OTD Pin
Duncan Edwards Jones25-Aug-15 23:07
professionalDuncan Edwards Jones25-Aug-15 23:07 
GeneralRe: CCC OTD Pin
chriselst25-Aug-15 23:28
professionalchriselst25-Aug-15 23:28 
GeneralRe: CCC OTD Pin
Duncan Edwards Jones25-Aug-15 23:54
professionalDuncan Edwards Jones25-Aug-15 23:54 
GeneralRe: CCC OTD Pin
chriselst25-Aug-15 23:55
professionalchriselst25-Aug-15 23:55 
GeneralRe: CCC OTD Pin
Agent__00725-Aug-15 23:34
professionalAgent__00725-Aug-15 23:34 
GeneralRe: CCC OTD Pin
Duncan Edwards Jones25-Aug-15 23:44
professionalDuncan Edwards Jones25-Aug-15 23:44 
GeneralRe: CCC OTD Pin
Agent__00726-Aug-15 1:20
professionalAgent__00726-Aug-15 1:20 
GeneralRe: CCC OTD Pin
Duncan Edwards Jones26-Aug-15 1:22
professionalDuncan Edwards Jones26-Aug-15 1:22 
GeneralRe: CCC OTD Pin
chriselst26-Aug-15 1:23
professionalchriselst26-Aug-15 1:23 
GeneralRe: CCC OTD Pin
Agent__00726-Aug-15 1:30
professionalAgent__00726-Aug-15 1:30 
GeneralRe: CCC OTD Pin
chriselst26-Aug-15 1:22
professionalchriselst26-Aug-15 1:22 
GeneralRe: CCC OTD Pin
Duncan Edwards Jones26-Aug-15 1:24
professionalDuncan Edwards Jones26-Aug-15 1:24 
GeneralRe: CCC OTD Pin
Agent__00726-Aug-15 1:39
professionalAgent__00726-Aug-15 1:39 
GeneralRe: CCC OTD Pin
chriselst25-Aug-15 23:35
professionalchriselst25-Aug-15 23:35 
GeneralRe: CCC OTD Pin
GuyThiebaut26-Aug-15 0:05
professionalGuyThiebaut26-Aug-15 0:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.