Click here to Skip to main content
15,888,082 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: Wasted space Pin
Richard MacCutchan19-Oct-09 23:58
mveRichard MacCutchan19-Oct-09 23:58 
GeneralRe: Wasted space Pin
OriginalGriff20-Oct-09 0:26
mveOriginalGriff20-Oct-09 0:26 
GeneralRe: Wasted space Pin
emunews11-Dec-09 11:36
emunews11-Dec-09 11:36 
GeneralHow to check if one date is bigger than another... Pin
Paulo Zemek29-Sep-09 3:26
mvaPaulo Zemek29-Sep-09 3:26 
GeneralRe: How to check if one date is bigger than another... Pin
Richard MacCutchan29-Sep-09 3:41
mveRichard MacCutchan29-Sep-09 3:41 
GeneralRe: How to check if one date is bigger than another... Pin
Jeroen De Dauw3-Oct-09 6:30
Jeroen De Dauw3-Oct-09 6:30 
GeneralRe: How to check if one date is bigger than another... Pin
QuiJohn23-Oct-09 2:44
QuiJohn23-Oct-09 2:44 
GeneralHow to chose self explanatory parameter names PinPopular
WilliamSauron25-Sep-09 0:20
WilliamSauron25-Sep-09 0:20 
Our low-level embedded communication servers use a .INI file for configurable parameters. There is a [send] section, and a [receive] section. The [send] section contains an aptly named SendRetryCount parameter. In one of the drivers, we also need a ReceiveRetryCount parameter. Guess where the programmer chose to place it. If your bet was the [receive] section, you lose. It is of course in the [send] section...

-- Quidquid latine dictum sit, altum sonatur.
http://streambolics.flimbase.com

S. L.

GeneralRe: How to chose self explanatory parameter names Pin
egenis28-Sep-09 1:09
egenis28-Sep-09 1:09 
GeneralRe: How to chose self explanatory parameter names Pin
BillW3328-Sep-09 7:49
professionalBillW3328-Sep-09 7:49 
JokeRe: How to chose self explanatory parameter names Pin
Vasudevan Deepak Kumar1-Oct-09 1:27
Vasudevan Deepak Kumar1-Oct-09 1:27 
GeneralGet the date from SQL Server Pin
Alex Baker15-Sep-09 13:29
Alex Baker15-Sep-09 13:29 
GeneralRe: Get the date from SQL Server Pin
Rob Smiley16-Sep-09 4:24
Rob Smiley16-Sep-09 4:24 
GeneralRe: Get the date from SQL Server Pin
PIEBALDconsult16-Sep-09 5:39
mvePIEBALDconsult16-Sep-09 5:39 
GeneralRe: Get the date from SQL Server Pin
supercat917-Sep-09 5:40
supercat917-Sep-09 5:40 
GeneralRe: Get the date from SQL Server Pin
irol17-Sep-09 6:10
professionalirol17-Sep-09 6:10 
GeneralRe: Get the date from SQL Server Pin
MaksimP25-Sep-09 9:48
MaksimP25-Sep-09 9:48 
GeneralRe: Get the date from SQL Server Pin
MaksimP25-Sep-09 9:45
MaksimP25-Sep-09 9:45 
GeneralRe: Get the date from SQL Server Pin
Gordon Kushner12-Oct-09 5:17
Gordon Kushner12-Oct-09 5:17 
GeneralRe: Get the date from SQL Server Pin
Jane Williams13-Oct-09 3:53
Jane Williams13-Oct-09 3:53 
GeneralAnagram finder PinPopular
justastupidgurl9-Sep-09 3:08
justastupidgurl9-Sep-09 3:08 
GeneralRe: Anagram finder Pin
Jeroen De Dauw9-Sep-09 3:48
Jeroen De Dauw9-Sep-09 3:48 
GeneralRe: Anagram finder Pin
justastupidgurl9-Sep-09 4:05
justastupidgurl9-Sep-09 4:05 
GeneralRe: Anagram finder Pin
Jeroen De Dauw9-Sep-09 20:40
Jeroen De Dauw9-Sep-09 20:40 
GeneralRe: Anagram finder Pin
justastupidgurl11-Sep-09 2:58
justastupidgurl11-Sep-09 2:58 

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.