Click here to Skip to main content
11,493,948 members (63,369 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, 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: I just made a secret GOTO Pin
peterchen14-Aug-13 2:24
memberpeterchen14-Aug-13 2:24 
NewsSomething original Pin
Super Lloyd6-Aug-13 22:03
memberSuper Lloyd6-Aug-13 22:03 
JokeRe: Something original Pin
Argonia6-Aug-13 22:24
memberArgonia6-Aug-13 22:24 
GeneralRe: Something original Pin
Super Lloyd7-Aug-13 3:57
memberSuper Lloyd7-Aug-13 3:57 
GeneralRe: Something original Pin
BotCar6-Aug-13 23:01
memberBotCar6-Aug-13 23:01 
GeneralRe: Something original Pin
Argonia7-Aug-13 0:36
memberArgonia7-Aug-13 0:36 
GeneralRe: Something original Pin
MarkRHolbrook6-Sep-13 4:20
memberMarkRHolbrook6-Sep-13 4:20 
GeneralRe: Something original Pin
MarkRHolbrook6-Sep-13 7:18
memberMarkRHolbrook6-Sep-13 7:18 
GeneralRe: Something original Pin
AlexCode7-Aug-13 0:45
professionalAlexCode7-Aug-13 0:45 
GeneralRe: Something original Pin
Argonia7-Aug-13 1:19
memberArgonia7-Aug-13 1:19 
GeneralRe: Something original Pin
AlexCode7-Aug-13 2:09
professionalAlexCode7-Aug-13 2:09 
GeneralRe: Something original Pin
Super Lloyd7-Aug-13 4:00
memberSuper Lloyd7-Aug-13 4:00 
GeneralRe: Something original Pin
PIEBALDconsult7-Aug-13 5:41
professionalPIEBALDconsult7-Aug-13 5:41 
GeneralRe: Something original Pin
Sentenryu7-Aug-13 10:18
memberSentenryu7-Aug-13 10:18 
A guy that worked here for 7 months left for us a mvc application that only has 1 view model for 17 views.

Where do you think he put all the data? yes, on that view model.

That thing has properties that differ only by casing, only by swapping 'c' with 'ç', only by using accentuation (like 'Região' and 'Regiao') and by all of that('regiao', 'região', 'Regiao', 'Região').

All of those properties have a different meaning.

You're lucky that you only need to deal with low/upper case differences.
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)

"Given the chance I'd rather work smart than work hard." - PHS241

"'Sophisticated platform' typically means 'I have no idea how it works.'"

GeneralRe: Something original Pin
Super Lloyd7-Aug-13 15:13
memberSuper Lloyd7-Aug-13 15:13 
GeneralRe: Something original Pin
Brisingr Aerowing8-Aug-13 3:38
professionalBrisingr Aerowing8-Aug-13 3:38 
GeneralRe: Something original Pin
Jacek Gajek13-Aug-13 6:45
memberJacek Gajek13-Aug-13 6:45 
GeneralRe: Something original Pin
Sentenryu13-Aug-13 7:32
memberSentenryu13-Aug-13 7:32 
GeneralRe: Something original Pin
Jacek Gajek14-Aug-13 0:21
memberJacek Gajek14-Aug-13 0:21 
GeneralRe: Something original Pin
Sentenryu14-Aug-13 4:22
memberSentenryu14-Aug-13 4:22 
GeneralRe: Something original Pin
Jacek Gajek14-Aug-13 5:21
memberJacek Gajek14-Aug-13 5:21 
GeneralRe: Something original Pin
BCantor13-Aug-13 6:05
memberBCantor13-Aug-13 6:05 
GeneralRe: Something original Pin
Jacek Gajek13-Aug-13 6:51
memberJacek Gajek13-Aug-13 6:51 
GeneralRe: Something original Pin
Brisingr Aerowing19-Aug-13 17:20
professionalBrisingr Aerowing19-Aug-13 17:20 
GeneralRe: Something original Pin
ExcellentOrg21-Aug-13 1:04
groupExcellentOrg21-Aug-13 1:04 
RantFsking ASP.NET! Pin
Richard Deeming6-Aug-13 11:00
professionalRichard Deeming6-Aug-13 11:00 
GeneralRe: Fsking ASP.NET! Pin
Bernhard Hiller6-Aug-13 21:57
professionalBernhard Hiller6-Aug-13 21:57 
GeneralRe: Fsking ASP.NET! Pin
Sentenryu7-Aug-13 10:08
memberSentenryu7-Aug-13 10:08 
GeneralWhen things to more than you think Pin
imagiro6-Aug-13 8:17
memberimagiro6-Aug-13 8:17 
GeneralRe: When things to more than you think Pin
Super Lloyd6-Aug-13 22:13
memberSuper Lloyd6-Aug-13 22:13 
GeneralUndoubtedly this is my own ignorance in glorious action but... Pin
Andy Bantly5-Aug-13 8:52
memberAndy Bantly5-Aug-13 8:52 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Matt U.5-Aug-13 9:10
memberMatt U.5-Aug-13 9:10 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Andy Bantly5-Aug-13 10:22
memberAndy Bantly5-Aug-13 10:22 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Matt U.5-Aug-13 11:02
memberMatt U.5-Aug-13 11:02 
GeneralRe: Undoubtedly this is my own ignorance in glorious action but... Pin
Andy Bantly6-Aug-13 11:54
memberAndy Bantly6-Aug-13 11:54 
GeneralSo you think you know what double.Parse does? Pin
harold aptroot3-Aug-13 0:27
memberharold aptroot3-Aug-13 0:27 
GeneralRe: So you think you know what double.Parse does? Pin
PIEBALDconsult3-Aug-13 6:31
professionalPIEBALDconsult3-Aug-13 6:31 
GeneralRe: So you think you know what double.Parse does? Pin
Grimlock4-Aug-13 9:25
professionalGrimlock4-Aug-13 9:25 
GeneralRe: So you think you know what double.Parse does? [modified] Pin
harold aptroot4-Aug-13 10:07
memberharold aptroot4-Aug-13 10:07 
GeneralRe: So you think you know what double.Parse does? Pin
Grimlock7-Aug-13 8:38
professionalGrimlock7-Aug-13 8:38 
GeneralRe: So you think you know what double.Parse does? Pin
harold aptroot7-Aug-13 8:51
memberharold aptroot7-Aug-13 8:51 
GeneralRe: So you think you know what double.Parse does? Pin
Rob Grainger15-Aug-13 1:18
memberRob Grainger15-Aug-13 1:18 
GeneralRe: So you think you know what double.Parse does? Pin
Amitosh S.M.4-Aug-13 21:50
memberAmitosh S.M.4-Aug-13 21:50 
GeneralRe: So you think you know what double.Parse does? Pin
Jacek Gajek6-Aug-13 11:56
memberJacek Gajek6-Aug-13 11:56 
GeneralRe: So you think you know what double.Parse does? Pin
harold aptroot6-Aug-13 11:59
memberharold aptroot6-Aug-13 11:59 
GeneralRe: So you think you know what double.Parse does? Pin
Jacek Gajek6-Aug-13 12:15
memberJacek Gajek6-Aug-13 12:15 
GeneralRe: So you think you know what double.Parse does? Pin
ExcellentOrg21-Aug-13 1:07
groupExcellentOrg21-Aug-13 1:07 
GeneralFace, meet palm... Pin
Dave Kreskowiak2-Aug-13 10:45
mvpDave Kreskowiak2-Aug-13 10:45 
GeneralRe: Face, meet palm... Pin
lewax002-Aug-13 11:22
memberlewax002-Aug-13 11:22 
GeneralBest Function Ever Pin
LNogueira2-Aug-13 7:20
memberLNogueira2-Aug-13 7:20 

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
Web04 | 2.8.150520.1 | Last Updated 29 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid