Click here to Skip to main content
15,887,267 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: Nullable<bool> ? Pin
den2k8810-May-16 22:27
professionalden2k8810-May-16 22:27 
GeneralRe: Nullable<bool> ? Pin
Kornfeld Eliyahu Peter10-May-16 22:35
professionalKornfeld Eliyahu Peter10-May-16 22:35 
GeneralRe: Nullable<bool> ? Pin
Maarten Kools10-May-16 23:36
professionalMaarten Kools10-May-16 23:36 
GeneralRe: Nullable<bool> ? Pin
Kornfeld Eliyahu Peter10-May-16 23:42
professionalKornfeld Eliyahu Peter10-May-16 23:42 
GeneralRe: Nullable<bool> ? Pin
den2k8810-May-16 23:51
professionalden2k8810-May-16 23:51 
GeneralRe: Nullable<bool> ? Pin
Kornfeld Eliyahu Peter10-May-16 23:58
professionalKornfeld Eliyahu Peter10-May-16 23:58 
GeneralRe: Nullable<bool> ? Pin
Rob Grainger14-Jun-16 0:55
Rob Grainger14-Jun-16 0:55 
GeneralRe: Nullable<bool> ? Pin
David A. Gray1-Jul-16 21:35
David A. Gray1-Jul-16 21:35 
Kornfeld Eliyahu Peter wrote:
obviously the default for a bool (at the end of the day) will be false, if not stated otherwise...And if stated otherwise, than it should be part of the


IMO, this is the most significant statement in this thread.

The thing that drew me into this thread was its subject, which made me wonder how a bool could be considered nullable. When I see the word "nullable," I assume that the context is an object, rather than a primitive type such as bool, int, long, uint, ulong, double, etc.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Nullable<bool> ? Pin
den2k8810-May-16 21:24
professionalden2k8810-May-16 21:24 
GeneralRe: Nullable<bool> ? Pin
Kornfeld Eliyahu Peter10-May-16 22:36
professionalKornfeld Eliyahu Peter10-May-16 22:36 
GeneralRe: Nullable<bool> ? Pin
Bernhard Hiller10-May-16 22:15
Bernhard Hiller10-May-16 22:15 
GeneralRe: Nullable<bool> ? Pin
Kornfeld Eliyahu Peter10-May-16 22:38
professionalKornfeld Eliyahu Peter10-May-16 22:38 
GeneralBeautiful code... Pin
Kieryn Phipps9-May-16 7:19
Kieryn Phipps9-May-16 7:19 
GeneralRe: Beautiful code... Pin
Ravi Bhavnani9-May-16 7:30
professionalRavi Bhavnani9-May-16 7:30 
JokeRe: Beautiful code... Pin
WiganLatics9-May-16 9:57
professionalWiganLatics9-May-16 9:57 
GeneralRe: Beautiful code... Pin
David A. Gray1-Jul-16 21:39
David A. Gray1-Jul-16 21:39 
GeneralRe: Beautiful code... Pin
Sander Rossel9-May-16 7:42
professionalSander Rossel9-May-16 7:42 
JokeRe: Beautiful code... Pin
WiganLatics9-May-16 10:01
professionalWiganLatics9-May-16 10:01 
GeneralRe: Beautiful code... Pin
jeron19-May-16 7:44
jeron19-May-16 7:44 
GeneralRe: Beautiful code... Pin
Kieryn Phipps9-May-16 10:18
Kieryn Phipps9-May-16 10:18 
GeneralRe: Beautiful code... Pin
jgakenhe9-May-16 7:44
professionaljgakenhe9-May-16 7:44 
GeneralRe: Beautiful code... Pin
KarstenK9-May-16 7:56
mveKarstenK9-May-16 7:56 
GeneralRe: Beautiful code... Pin
Sander Rossel9-May-16 10:26
professionalSander Rossel9-May-16 10:26 
GeneralRe: Beautiful code... Pin
PauloJuanShirt9-May-16 23:46
PauloJuanShirt9-May-16 23:46 
GeneralRe: Beautiful code... Pin
kmoorevs12-May-16 9:14
kmoorevs12-May-16 9:14 

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.