Click here to Skip to main content
15,392,858 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: "This is a rare event" Pin
Member 150787164-Jul-22 17:10
MemberMember 150787164-Jul-22 17:10 
GeneralRe: "This is a rare event" Pin
Ron Anders21-Jul-22 5:56
MemberRon Anders21-Jul-22 5:56 
GeneralTell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 5:35
MemberGary R. Wheeler4-May-22 5:35 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 6:42
mveGreg Utas4-May-22 6:42 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 6:53
MemberGary R. Wheeler4-May-22 6:53 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 7:00
mveGreg Utas4-May-22 7:00 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:30
MemberGary R. Wheeler4-May-22 12:30 
GeneralRe: Tell me what's wrong with the following Pin
Mircea Neacsu4-May-22 9:09
mvaMircea Neacsu4-May-22 9:09 
In short: everything!

Where should I start? The unsigned long of 1 bit? The SendBlock doubly defined? The version union with members in wrong order? The complete lack of comments?

I hope they pay you well to put up with this pile of manure WTF | :WTF:
Mircea

GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 10:09
mveGreg Utas4-May-22 10:09 
GeneralRe: Tell me what's wrong with the following Pin
Randor 4-May-22 10:44
professional Randor 4-May-22 10:44 
GeneralRe: Tell me what's wrong with the following Pin
Greg Utas4-May-22 11:38
mveGreg Utas4-May-22 11:38 
GeneralRe: Tell me what's wrong with the following Pin
Randor 4-May-22 11:49
professional Randor 4-May-22 11:49 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:33
MemberGary R. Wheeler4-May-22 12:33 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:48
MemberGary R. Wheeler4-May-22 12:48 
GeneralRe: Tell me what's wrong with the following Pin
Mircea Neacsu4-May-22 13:40
mvaMircea Neacsu4-May-22 13:40 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 14:28
MemberGary R. Wheeler4-May-22 14:28 
GeneralRe: Tell me what's wrong with the following Pin
Randor 4-May-22 12:06
professional Randor 4-May-22 12:06 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler4-May-22 12:53
MemberGary R. Wheeler4-May-22 12:53 
GeneralRe: Tell me what's wrong with the following Pin
charlieg15-May-22 1:33
Membercharlieg15-May-22 1:33 
GeneralRe: Tell me what's wrong with the following Pin
Gary R. Wheeler15-May-22 3:16
MemberGary R. Wheeler15-May-22 3:16 
GeneralRe: Tell me what's wrong with the following Pin
charlieg20-Jul-22 8:03
Membercharlieg20-Jul-22 8:03 
RantTaking responsibility Pin
Andreas Mertens27-Apr-22 8:32
professionalAndreas Mertens27-Apr-22 8:32 
GeneralRe: Taking responsibility Pin
PIEBALDconsult27-Apr-22 11:45
professionalPIEBALDconsult27-Apr-22 11:45 
GeneralRe: Taking responsibility Pin
Andreas Mertens27-Apr-22 12:08
professionalAndreas Mertens27-Apr-22 12:08 
GeneralRe: Taking responsibility Pin
PIEBALDconsult27-Apr-22 13:11
professionalPIEBALDconsult27-Apr-22 13:11 

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.