Click here to Skip to main content
14,579,459 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: I just set a personal record Pin
honey the codewitch18-Dec-19 3:54
mvahoney the codewitch18-Dec-19 3:54 
GeneralRe: I just set a personal record Pin
Daniel Pfeffer18-Dec-19 4:48
professionalDaniel Pfeffer18-Dec-19 4:48 
Generalgraphics card Pin
V.17-Dec-19 20:46
professionalV.17-Dec-19 20:46 
PraiseRe: graphics card Pin
RickZeeland17-Dec-19 20:58
mveRickZeeland17-Dec-19 20:58 
GeneralRe: graphics card Pin
Nelek18-Dec-19 0:27
protectorNelek18-Dec-19 0:27 
GeneralRe: graphics card Pin
PIEBALDconsult19-Dec-19 13:18
professionalPIEBALDconsult19-Dec-19 13:18 
GeneralHumans are ridiculous Pin
honey the codewitch17-Dec-19 17:19
mvahoney the codewitch17-Dec-19 17:19 
GeneralRe: Humans are ridiculous Pin
Super Lloyd17-Dec-19 18:50
MemberSuper Lloyd17-Dec-19 18:50 
Mm... your code does confuses me so much indeed... Sigh | :sigh:
I ignored it and followed the comment instead, how about?
for (int i = 0; i < list.Count; i++)
{
    if (i > 0)
    {
        result.Append(", ");
        if (i == list.Count - 1)
            result.Append("or ");
    }
    result.Append(list[i]);
}
I find this simple, readable with clear intention, if I do say so myself! Big Grin | :-D
Clarity over (often misguided) micro optimisation
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: Humans are ridiculous Pin
honey the codewitch17-Dec-19 18:52
mvahoney the codewitch17-Dec-19 18:52 
GeneralRe: Humans are ridiculous Pin
Super Lloyd17-Dec-19 18:58
MemberSuper Lloyd17-Dec-19 18:58 
GeneralRe: Humans are ridiculous Pin
honey the codewitch17-Dec-19 18:59
mvahoney the codewitch17-Dec-19 18:59 
GeneralRe: Humans are ridiculous Pin
Super Lloyd17-Dec-19 19:03
MemberSuper Lloyd17-Dec-19 19:03 
GeneralRe: Humans are ridiculous Pin
honey the codewitch17-Dec-19 19:07
mvahoney the codewitch17-Dec-19 19:07 
GeneralRe: Humans are ridiculous Pin
Super Lloyd17-Dec-19 19:20
MemberSuper Lloyd17-Dec-19 19:20 
GeneralRe: Humans are ridiculous Pin
Nelek18-Dec-19 0:29
protectorNelek18-Dec-19 0:29 
GeneralRe: Humans are ridiculous Pin
Super Lloyd17-Dec-19 19:01
MemberSuper Lloyd17-Dec-19 19:01 
GeneralRe: Humans are ridiculous Pin
honey the codewitch17-Dec-19 19:02
mvahoney the codewitch17-Dec-19 19:02 
GeneralENGLISH is ridiculous Pin
Daniel Pfeffer17-Dec-19 19:29
professionalDaniel Pfeffer17-Dec-19 19:29 
GeneralRe: ENGLISH is ridiculous Pin
honey the codewitch17-Dec-19 19:31
mvahoney the codewitch17-Dec-19 19:31 
GeneralRe: ENGLISH is ridiculous Pin
Super Lloyd17-Dec-19 20:45
MemberSuper Lloyd17-Dec-19 20:45 
GeneralRe: ENGLISH is ridiculous Pin
PIEBALDconsult18-Dec-19 6:23
professionalPIEBALDconsult18-Dec-19 6:23 
GeneralRe: ENGLISH is ridiculous Pin
TheGreatAndPowerfulOz18-Dec-19 6:33
MemberTheGreatAndPowerfulOz18-Dec-19 6:33 
GeneralRe: ENGLISH is ridiculous Pin
honey the codewitch17-Dec-19 19:33
mvahoney the codewitch17-Dec-19 19:33 
GeneralRe: Humans are ridiculous Pin
Richard Deeming18-Dec-19 0:06
mveRichard Deeming18-Dec-19 0:06 
GeneralRe: Humans are ridiculous Pin
StarNamer_18-Dec-19 2:44
professionalStarNamer_18-Dec-19 2:44 

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.