Click here to Skip to main content
15,888,351 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: Now this is bad.... PinPopular
Richard A. Dalton19-Apr-11 23:51
Richard A. Dalton19-Apr-11 23:51 
GeneralIs there a place... Pin
CDP180220-Apr-11 0:03
CDP180220-Apr-11 0:03 
GeneralRe: Now this is bad.... Pin
Vladimir Svyatski22-Apr-11 9:05
professionalVladimir Svyatski22-Apr-11 9:05 
GeneralRe: Now this is bad.... Pin
Albert Holguin22-Apr-11 17:18
professionalAlbert Holguin22-Apr-11 17:18 
GeneralRe: Now this is bad.... Pin
Ravi Sant2-Jun-11 4:17
Ravi Sant2-Jun-11 4:17 
Generalcall the same object Pin
TorstenH.18-Apr-11 4:39
TorstenH.18-Apr-11 4:39 
GeneralRe: call the same object Pin
StM0n20-Apr-11 10:24
StM0n20-Apr-11 10:24 
GeneralRe: call the same object Pin
TorstenH.20-Apr-11 21:34
TorstenH.20-Apr-11 21:34 
right - that helps most times. Did I mention that I live really close to a German Biergarten[^]

I sorted out all of the booleans (there were some more in the deeper code...) and deleted 2 constructors in this Action.

public SendAction(){
	setId(SendAction.ID);
}
	
public SendAction(final Mail oMail, final SendMode oSendMode) {
	this();
	// figure out SendMode
}	


regards
Torsten
I never finish anyth...

GeneralRe: call the same object Pin
StM0n20-Apr-11 21:38
StM0n20-Apr-11 21:38 
GeneralHmmm... I think something went wrong on line 71, but I'm not sure... Pin
PIEBALDconsult12-Apr-11 19:09
mvePIEBALDconsult12-Apr-11 19:09 
GeneralRe: Hmmm... I think something went wrong on line 71, but I'm not sure... PinPopular
AspDotNetDev13-Apr-11 3:45
protectorAspDotNetDev13-Apr-11 3:45 
GeneralRe: Hmmm... I think something went wrong on line 71, but I'm not sure... PinPopular
gavindon13-Apr-11 4:16
gavindon13-Apr-11 4:16 
JokeRe: Hmmm... I think something went wrong on line 71, but I'm not sure... Pin
Sander Rossel15-Apr-11 3:56
professionalSander Rossel15-Apr-11 3:56 
GeneralRe: Hmmm... I think something went wrong on line 71, but I'm not sure... Pin
Bernhard Hiller19-Apr-11 2:03
Bernhard Hiller19-Apr-11 2:03 
GeneralAustin Danger Powers PinPopular
AspDotNetDev11-Apr-11 13:29
protectorAspDotNetDev11-Apr-11 13:29 
GeneralRe: Austin Danger Powers Pin
Luc Pattyn11-Apr-11 14:13
sitebuilderLuc Pattyn11-Apr-11 14:13 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev11-Apr-11 14:30
protectorAspDotNetDev11-Apr-11 14:30 
GeneralRe: Austin Danger Powers Pin
Luc Pattyn11-Apr-11 14:58
sitebuilderLuc Pattyn11-Apr-11 14:58 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev11-Apr-11 15:13
protectorAspDotNetDev11-Apr-11 15:13 
GeneralRe: Austin Danger Powers Pin
StM0n11-Apr-11 18:45
StM0n11-Apr-11 18:45 
GeneralRe: Austin Danger Powers Pin
Bernhard Hiller11-Apr-11 21:29
Bernhard Hiller11-Apr-11 21:29 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev12-Apr-11 10:06
protectorAspDotNetDev12-Apr-11 10:06 
GeneralRe: Austin Danger Powers Pin
CHLane13-Apr-11 4:37
CHLane13-Apr-11 4:37 
GeneralRe: Austin Danger Powers Pin
Blake Miller6-May-11 7:24
Blake Miller6-May-11 7:24 
GeneralRe: Austin Danger Powers Pin
Samuel Cragg12-Apr-11 10:10
Samuel Cragg12-Apr-11 10:10 

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.