Click here to Skip to main content
14,243,856 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Kill it with fire #2 - or fml Pin
charlieg1-Jun-19 3:15
membercharlieg1-Jun-19 3:15 
GeneralRe: Kill it with fire #2 - or fml Pin
Matias Lopez5-Jun-19 6:06
memberMatias Lopez5-Jun-19 6:06 
GeneralRe: Kill it with fire #2 - or fml Pin
AFell24-Jun-19 11:39
memberAFell24-Jun-19 11:39 
GeneralRe: Kill it with fire #2 - or fml Pin
charlieg4-Jun-19 18:01
membercharlieg4-Jun-19 18:01 
GeneralRe: Kill it with fire #2 - or fml Pin
Dr.Walt Fair, PE8-Jun-19 5:34
professionalDr.Walt Fair, PE8-Jun-19 5:34 
GeneralRe: Kill it with fire #2 - or fml Pin
Jörgen Andersson12-Jun-19 10:02
protectorJörgen Andersson12-Jun-19 10:02 
GeneralRe: Kill it with fire #2 - or fml Pin
Dr.Walt Fair, PE8-Jun-19 5:32
professionalDr.Walt Fair, PE8-Jun-19 5:32 
GeneralToday's entry for the "kill it with fire" list Pin
Gary Wheeler14-May-19 7:06
memberGary Wheeler14-May-19 7:06 
bool flags[2];
//...
if ( (flags[0] == true) ||
     (flags[1] == true) )
{
//...
    if ( (flags[0] == TRUE) ||
         (flags[1] == TRUE) )
    {
    }
}
Dead | X| I just found this in some code I have to extend to support a new feature. I wonder if Mike Rowe[^] knows C++...
Software Zen: delete this;

GeneralRe: Today's entry for the "kill it with fire" list Pin
phil.o14-May-19 7:30
mvephil.o14-May-19 7:30 
JokeRe: Today's entry for the "kill it with fire" list Pin
raddevus14-May-19 8:19
mvaraddevus14-May-19 8:19 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Gary Wheeler14-May-19 8:32
memberGary Wheeler14-May-19 8:32 
GeneralRe: Today's entry for the "kill it with fire" list Pin
DJ van Wyk15-May-19 20:25
professionalDJ van Wyk15-May-19 20:25 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Nathan Minier5-Jun-19 1:25
professionalNathan Minier5-Jun-19 1:25 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Ron Anders14-May-19 8:42
memberRon Anders14-May-19 8:42 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Bernhard Hiller14-May-19 22:37
memberBernhard Hiller14-May-19 22:37 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Gary Wheeler15-May-19 1:58
memberGary Wheeler15-May-19 1:58 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Member 916705715-May-19 22:47
memberMember 916705715-May-19 22:47 
GeneralRe: Today's entry for the "kill it with fire" list Pin
englebart16-May-19 2:48
memberenglebart16-May-19 2:48 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Gary Wheeler16-May-19 2:50
memberGary Wheeler16-May-19 2:50 
GeneralRe: Today's entry for the "kill it with fire" list Pin
englebart16-May-19 3:38
memberenglebart16-May-19 3:38 
JokeRe: Today's entry for the "kill it with fire" list Pin
Paulo_JCG16-May-19 3:00
professionalPaulo_JCG16-May-19 3:00 
GeneralRe: Today's entry for the "kill it with fire" list Pin
Gary Wheeler16-May-19 3:19
memberGary Wheeler16-May-19 3:19 
GeneralRe: Today's entry for the "kill it with fire" list Pin
S. Mercurio16-May-19 3:33
memberS. Mercurio16-May-19 3:33 
GeneralRe: Today's entry for the "kill it with fire" list Pin
DSewhuk16-May-19 4:18
memberDSewhuk16-May-19 4:18 
AnswerRe: Today's entry for the "kill it with fire" list Pin
Super Lloyd6-Jun-19 2:55
memberSuper Lloyd6-Jun-19 2:55 

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.