Click here to Skip to main content

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, embarrasing 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: Contact Us - here, have our email addresses (message sent to Lonmin) [modified] Pinmemberenhzflep30-Aug-12 23:46 
GeneralRe: Contact Us - here, have our email addresses (message sent to Lonmin) PinmemberSoMad31-Aug-12 11:21 
GeneralRe: Contact Us - here, have our email addresses (message sent to Lonmin) Pinmemberenhzflep3-Sep-12 15:20 
GeneralRe: Contact Us - here, have our email addresses PinmemberPIEBALDconsult30-Aug-12 18:54 
GeneralRe: Contact Us - here, have our email addresses PinmemberBernhard Hiller30-Aug-12 21:24 
GeneralRe: Contact Us - here, have our email addresses Pinmemberekolis31-Aug-12 11:14 
GeneralRe: Contact Us - here, have our email addresses Pinmemberenhzflep3-Sep-12 15:11 
GeneralHey kids, what day is it? Pinmemberesaulsberry29-Aug-12 3: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? PinmemberNagy Vilmos29-Aug-12 3:47 
GeneralRe: Hey kids, what day is it? PinmvpOriginalGriff29-Aug-12 4:56 
GeneralRe: Hey kids, what day is it? PinmemberBobJanova29-Aug-12 4:58 
GeneralRe: Hey kids, what day is it? Pinmemberesaulsberry29-Aug-12 5:05 
GeneralRe: Hey kids, what day is it? PinmemberBobJanova29-Aug-12 6:23 
GeneralRe: Hey kids, what day is it? PinprotectorAspDotNetDev29-Aug-12 6:49 
GeneralRe: Hey kids, what day is it? PinmemberMember 205300629-Aug-12 5:20 
GeneralRe: Hey kids, what day is it? Pinmemberesaulsberry29-Aug-12 5:23 
GeneralRe: Hey kids, what day is it? PinmemberNagy Vilmos29-Aug-12 5:29 
GeneralRe: Hey kids, what day is it? PinmemberKenneth Haugland11-Sep-12 7:11 
GeneralRe: Hey kids, what day is it? Pinmembermedivhxk37-Sep-12 8:40 
GeneralRe: Hey kids, what day is it? PinmemberJoe_Dert20-Oct-12 22:28 
GeneralProfanity in code PinmemberBrian C Hart23-Aug-12 13:52 
GeneralRe: Profanity in code PinmemberRCoate23-Aug-12 15:49 
GeneralRe: Profanity in code PinprotectorAspDotNetDev23-Aug-12 15:55 
JokeRe: Profanity in code Pinmemberkrumia23-Aug-12 17:29 
GeneralRe: Profanity in code PinmemberJonathan C Dickinson27-Aug-12 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web02 | 2.8.140718.1 | Last Updated 22 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid