Click here to Skip to main content
15,886,639 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: Boolean Variable Name Pin
Nagy Vilmos13-Jul-08 22:10
professionalNagy Vilmos13-Jul-08 22:10 
GeneralRe: Boolean Variable Name Pin
Philippe Lhoste11-Jul-08 11:10
Philippe Lhoste11-Jul-08 11:10 
GeneralRe: Boolean Variable Name Pin
killabyte11-Jul-08 14:08
killabyte11-Jul-08 14:08 
GeneralRe: Boolean Variable Name Pin
supercat914-Jul-08 6:13
supercat914-Jul-08 6:13 
GeneralRe: Boolean Variable Name Pin
CDP180221-Jul-08 2:00
CDP180221-Jul-08 2:00 
GeneralRe: Boolean Variable Name Pin
killabyte21-Jul-08 19:28
killabyte21-Jul-08 19:28 
GeneralRe: Boolean Variable Name Pin
Paul Conrad12-Jul-08 7:18
professionalPaul Conrad12-Jul-08 7:18 
GeneralRe: Boolean Variable Name Pin
Lutosław16-Jul-08 11:29
Lutosław16-Jul-08 11:29 
Looks like this variable determines whether an object has a particular set of flags. If there would be, let say, 10 flags, then a 'meaningful' name would have to be "IsFlag1AndFlag2AndFlag3And....AndFlag10AndNothingElse = false"
So, for the author of a flag's enumeration this is just a short form of the above.

Greetings - Gajatko

Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

GeneralRe: Boolean Variable Name Pin
CDP180221-Jul-08 2:07
CDP180221-Jul-08 2:07 
GeneralRe: Boolean Variable Name Pin
Lutosław21-Jul-08 6:48
Lutosław21-Jul-08 6:48 
GeneralRe: Boolean Variable Name Pin
CDP180223-Jul-08 4:09
CDP180223-Jul-08 4:09 
GeneralRe: Boolean Variable Name Pin
Lutosław23-Jul-08 4:48
Lutosław23-Jul-08 4:48 
GeneralRe: Boolean Variable Name Pin
CDP180223-Jul-08 4:53
CDP180223-Jul-08 4:53 
GeneralIt's horrible Pin
jamie5509-Jul-08 18:44
jamie5509-Jul-08 18:44 
GeneralRe: It's horrible Pin
Paul Conrad9-Jul-08 18:55
professionalPaul Conrad9-Jul-08 18:55 
GeneralRe: It's horrible Pin
_Damian S_9-Jul-08 19:14
professional_Damian S_9-Jul-08 19:14 
JokeRe: It's horrible Pin
Paul Conrad10-Jul-08 16:39
professionalPaul Conrad10-Jul-08 16:39 
GeneralRe: It's horrible Pin
PIEBALDconsult10-Jul-08 3:58
mvePIEBALDconsult10-Jul-08 3:58 
GeneralRe: It's horrible Pin
jamie55010-Jul-08 4:18
jamie55010-Jul-08 4:18 
GeneralRe: It's horrible Pin
snorkie10-Jul-08 4:54
professionalsnorkie10-Jul-08 4:54 
GeneralRe: It's horrible Pin
jamie55010-Jul-08 4:57
jamie55010-Jul-08 4:57 
GeneralRe: It's horrible Pin
BillW332-Sep-08 11:22
professionalBillW332-Sep-08 11:22 
GeneralRe: It's horrible Pin
Dan Neely10-Jul-08 5:43
Dan Neely10-Jul-08 5:43 
GeneralRe: It's horrible Pin
BadKarma10-Jul-08 21:20
BadKarma10-Jul-08 21:20 
GeneralRe: It's horrible Pin
Dan Neely11-Jul-08 4:22
Dan Neely11-Jul-08 4:22 

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.