Click here to Skip to main content
13,260,383 members (45,766 online)

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.

 
RantWhat the hell is wrong with people today? Pin
Andrei Straut12-Sep-12 22:59
memberAndrei Straut12-Sep-12 22:59 
GeneralRe: What the hell is wrong with people today? Pin
Zac Greve14-Sep-12 3:53
memberZac Greve14-Sep-12 3:53 
GeneralRe: What the hell is wrong with people today? Pin
Andrei Straut14-Sep-12 12:22
memberAndrei Straut14-Sep-12 12:22 
GeneralContact Us - here, have our email addresses Pin
enhzflep30-Aug-12 16:53
memberenhzflep30-Aug-12 16:53 
GeneralRe: Contact Us - here, have our email addresses Pin
Zac Greve30-Aug-12 18:19
memberZac Greve30-Aug-12 18:19 
JokeRe: Contact Us - here, have our email addresses Pin
Peter_in_278030-Aug-12 18:20
memberPeter_in_278030-Aug-12 18:20 
GeneralRe: Contact Us - here, have our email addresses (message sent to Lonmin) Pin
enhzflep31-Aug-12 0:46
memberenhzflep31-Aug-12 0:46 
GeneralRe: Contact Us - here, have our email addresses (message sent to Lonmin) Pin
SoMad31-Aug-12 12:21
memberSoMad31-Aug-12 12:21 
GeneralRe: Contact Us - here, have our email addresses (message sent to Lonmin) Pin
enhzflep3-Sep-12 16:20
memberenhzflep3-Sep-12 16:20 
GeneralRe: Contact Us - here, have our email addresses Pin
PIEBALDconsult30-Aug-12 19:54
memberPIEBALDconsult30-Aug-12 19:54 
GeneralRe: Contact Us - here, have our email addresses Pin
Bernhard Hiller30-Aug-12 22:24
memberBernhard Hiller30-Aug-12 22:24 
GeneralRe: Contact Us - here, have our email addresses Pin
ekolis31-Aug-12 12:14
memberekolis31-Aug-12 12:14 
GeneralRe: Contact Us - here, have our email addresses Pin
enhzflep3-Sep-12 16:11
memberenhzflep3-Sep-12 16:11 
GeneralHey kids, what day is it? Pin
esaulsberry29-Aug-12 4:38
memberesaulsberry29-Aug-12 4:38 
Why do people do this? To make my brain hurt?
DateTime startDate = new DateTime(
  DateTime.Now.AddDays(-1).Year,
  DateTime.Now.AddDays(-1).Month,
  DateTime.Now.AddDays(-1).Day);
 
DateTime endDate = new DateTime(
  DateTime.Now.Year,
  DateTime.Now.Month,
  DateTime.Now.Day);

GeneralRe: Hey kids, what day is it? Pin
Nagy Vilmos29-Aug-12 4:47
memberNagy Vilmos29-Aug-12 4:47 
GeneralRe: Hey kids, what day is it? Pin
OriginalGriff29-Aug-12 5:56
mvpOriginalGriff29-Aug-12 5:56 
GeneralRe: Hey kids, what day is it? Pin
BobJanova29-Aug-12 5:58
memberBobJanova29-Aug-12 5:58 
GeneralRe: Hey kids, what day is it? Pin
esaulsberry29-Aug-12 6:05
memberesaulsberry29-Aug-12 6:05 
GeneralRe: Hey kids, what day is it? Pin
BobJanova29-Aug-12 7:23
memberBobJanova29-Aug-12 7:23 
GeneralRe: Hey kids, what day is it? Pin
AspDotNetDev29-Aug-12 7:49
protectorAspDotNetDev29-Aug-12 7:49 
GeneralRe: Hey kids, what day is it? Pin
Member 205300629-Aug-12 6:20
memberMember 205300629-Aug-12 6:20 
GeneralRe: Hey kids, what day is it? Pin
esaulsberry29-Aug-12 6:23
memberesaulsberry29-Aug-12 6:23 
GeneralRe: Hey kids, what day is it? Pin
Nagy Vilmos29-Aug-12 6:29
memberNagy Vilmos29-Aug-12 6:29 
GeneralRe: Hey kids, what day is it? Pin
Kenneth Haugland11-Sep-12 8:11
memberKenneth Haugland11-Sep-12 8:11 
GeneralRe: Hey kids, what day is it? Pin
medivhxk37-Sep-12 9:40
membermedivhxk37-Sep-12 9:40 
GeneralRe: Hey kids, what day is it? Pin
Joe_Dert20-Oct-12 23:28
memberJoe_Dert20-Oct-12 23:28 
GeneralProfanity in code Pin
Brian C Hart23-Aug-12 14:52
memberBrian C Hart23-Aug-12 14:52 
GeneralRe: Profanity in code Pin
RCoate23-Aug-12 16:49
memberRCoate23-Aug-12 16:49 
GeneralRe: Profanity in code Pin
AspDotNetDev23-Aug-12 16:55
protectorAspDotNetDev23-Aug-12 16:55 
JokeRe: Profanity in code Pin
krumia23-Aug-12 18:29
memberkrumia23-Aug-12 18:29 
GeneralRe: Profanity in code Pin
Jonathan C Dickinson27-Aug-12 21:15
memberJonathan C Dickinson27-Aug-12 21:15 
GeneralRe: Profanity in code Pin
RookieCoder_NG2-Sep-12 23:58
memberRookieCoder_NG2-Sep-12 23:58 
GeneralRe: Profanity in code Pin
cmger23-Aug-12 20:55
membercmger23-Aug-12 20:55 
GeneralRe: Profanity in code Pin
MyCodeWorks27-Aug-12 5:52
memberMyCodeWorks27-Aug-12 5:52 
GeneralRe: Profanity in code Pin
Gary Wheeler27-Aug-12 1:32
memberGary Wheeler27-Aug-12 1:32 
GeneralRe: Profanity in code Pin
Florin Jurcovici27-Aug-12 2:24
memberFlorin Jurcovici27-Aug-12 2:24 
GeneralRe: Profanity in code Pin
Gary Wheeler27-Aug-12 2:30
memberGary Wheeler27-Aug-12 2:30 
GeneralRe: Profanity in code Pin
Clodetta del Mar27-Aug-12 2:49
memberClodetta del Mar27-Aug-12 2:49 
GeneralRe: Profanity in code Pin
fct200427-Aug-12 19:45
memberfct200427-Aug-12 19:45 
GeneralRe: Profanity in code Pin
Florin Jurcovici27-Aug-12 3:04
memberFlorin Jurcovici27-Aug-12 3:04 
GeneralRe: Profanity in code Pin
Gary Wheeler27-Aug-12 3:09
memberGary Wheeler27-Aug-12 3:09 
GeneralRe: Profanity in code Pin
Richard Ross-Langley27-Aug-12 3:20
memberRichard Ross-Langley27-Aug-12 3:20 
GeneralRe: Profanity in code Pin
Gary Wheeler27-Aug-12 3:54
memberGary Wheeler27-Aug-12 3:54 
GeneralRe: Profanity in code Pin
CIDev27-Aug-12 6:13
memberCIDev27-Aug-12 6:13 
GeneralRe: Profanity in code Pin
hvanzyll27-Aug-12 7:27
memberhvanzyll27-Aug-12 7:27 
GeneralRe: Profanity in code Pin
fct200427-Aug-12 19:47
memberfct200427-Aug-12 19:47 
GeneralRe: Profanity in code Pin
Jonathan C Dickinson27-Aug-12 21:19
memberJonathan C Dickinson27-Aug-12 21:19 
GeneralRe: Profanity in code Pin
RafagaX27-Aug-12 5:44
memberRafagaX27-Aug-12 5:44 
GeneralRe: Profanity in code Pin
Ralph Little27-Aug-12 6:42
memberRalph Little27-Aug-12 6:42 
GeneralRe: Profanity in code Pin
Blake Miller27-Aug-12 7:43
memberBlake Miller27-Aug-12 7:43 

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.


Advertise | Privacy |
Web03 | 2.8.171114.1 | Last Updated 25 Nov 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid