Click here to Skip to main content
14,580,625 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.

 
GeneralMessage Closed Pin
1-Jul-20 8:48
MemberMember 148784011-Jul-20 8:48 
GeneralMessage Closed Pin
1-Jul-20 7:50
MemberMember 148783661-Jul-20 7:50 
General99 bottles of beer in Malbolge Pin
Brisingr Aerowing29-Jun-20 6:17
professionalBrisingr Aerowing29-Jun-20 6:17 
GeneralHow NOT to calculate the end of month... Pin
Rob Grainger15-Jun-20 2:01
MemberRob Grainger15-Jun-20 2:01 
GeneralRe: How NOT to calculate the end of month... Pin
OriginalGriff15-Jun-20 2:38
mveOriginalGriff15-Jun-20 2:38 
GeneralRe: How NOT to calculate the end of month... Pin
Rob Grainger15-Jun-20 3:06
MemberRob Grainger15-Jun-20 3:06 
GeneralRe: How NOT to calculate the end of month... Pin
OriginalGriff15-Jun-20 3:10
mveOriginalGriff15-Jun-20 3:10 
GeneralRe: How NOT to calculate the end of month... Pin
0x01AA15-Jun-20 3:19
mve0x01AA15-Jun-20 3:19 
GeneralRe: How NOT to calculate the end of month... Pin
Member 798912215-Jun-20 3:37
MemberMember 798912215-Jun-20 3:37 
GeneralRe: How NOT to calculate the end of month... Pin
0x01AA15-Jun-20 4:00
mve0x01AA15-Jun-20 4:00 
GeneralRe: How NOT to calculate the end of month... Pin
Marc Clifton15-Jun-20 4:59
mvaMarc Clifton15-Jun-20 4:59 
GeneralRe: How NOT to calculate the end of month... Pin
obermd17-Jun-20 4:29
Memberobermd17-Jun-20 4:29 
GeneralRe: How NOT to calculate the end of month... Pin
Myron Dombrowski17-Jun-20 14:21
MemberMyron Dombrowski17-Jun-20 14:21 
GeneralRe: How NOT to calculate the end of month... Pin
EbenRoux16-Jun-20 23:16
MemberEbenRoux16-Jun-20 23:16 
GeneralRe: How NOT to calculate the end of month... Pin
Rob Grainger16-Jun-20 23:32
MemberRob Grainger16-Jun-20 23:32 
Personally, I feel that an extension method on DateTime should apply to all possible DateTime instances. Otherwise, it can be defined to match circumstances, as long as that is clear from the name.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.

GeneralRe: How NOT to calculate the end of month... Pin
BDieser17-Jun-20 1:41
MemberBDieser17-Jun-20 1:41 
GeneralRe: How NOT to calculate the end of month... Pin
Rob Grainger17-Jun-20 12:38
MemberRob Grainger17-Jun-20 12:38 
GeneralClient sided login Pin
Brisingr Aerowing25-May-20 12:42
professionalBrisingr Aerowing25-May-20 12:42 
GeneralRe: Client sided login Pin
lw@zi 25-May-20 18:34
professional lw@zi 25-May-20 18:34 
GeneralRe: Client sided login Pin
Sander Rossel25-May-20 19:59
professionalSander Rossel25-May-20 19:59 
GeneralRe: Client sided login Pin
lw@zi 26-May-20 21:29
professional lw@zi 26-May-20 21:29 
GeneralRe: Client sided login Pin
Sander Rossel26-May-20 21:51
professionalSander Rossel26-May-20 21:51 
GeneralRe: Client sided login Pin
Andreas Mertens17-Jun-20 6:22
professionalAndreas Mertens17-Jun-20 6:22 
GeneralRe: Client sided login Pin
DerekT-P28-May-20 6:33
professionalDerekT-P28-May-20 6:33 
GeneralRe: Client sided login Pin
lw@zi 30-May-20 0:36
professional lw@zi 30-May-20 0:36 

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.