Click here to Skip to main content
15,886,963 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: We don't work on Sundays Pin
Richard Deeming25-Sep-17 2:35
mveRichard Deeming25-Sep-17 2:35 
GeneralRe: We don't work on Sundays Pin
kmoorevs25-Sep-17 4:26
kmoorevs25-Sep-17 4:26 
GeneralThis seriously belongs here... PinPopular
Brisingr Aerowing16-Sep-17 17:22
professionalBrisingr Aerowing16-Sep-17 17:22 
GeneralRe: This seriously belongs here... Pin
Daniel Pfeffer16-Sep-17 20:22
professionalDaniel Pfeffer16-Sep-17 20:22 
GeneralRe: This seriously belongs here... Pin
Dave Kreskowiak17-Sep-17 4:48
mveDave Kreskowiak17-Sep-17 4:48 
GeneralRe: This seriously belongs here... PinPopular
Richard Deeming19-Sep-17 2:28
mveRichard Deeming19-Sep-17 2:28 
GeneralRe: This seriously belongs here... Pin
Baraaaaaa20-Sep-17 4:13
Baraaaaaa20-Sep-17 4:13 
GeneralRe: This seriously belongs here... Pin
BuggyTimes21-Sep-17 1:01
BuggyTimes21-Sep-17 1:01 
Good find by the hackers, just reading the code made me really cringe, mainly because I'm nowhere near awake enough to parse it correctly. Whether it's a gross missnaming or the devs not checking what isValidURL() actually validates one can be certain oversights were made.

I'm in the middle of refactoring some css to make it clear and this article is yet another validation to striving to name things to the best of ones ability. My issue is naturally trivial in comparison and there is zero possibility of failing in such an impactful way, but clear code speaks for itself.
GeneralRe: This seriously belongs here... Pin
Fueled By Decaff21-Sep-17 23:05
Fueled By Decaff21-Sep-17 23:05 
GeneralRe: This seriously belongs here... Pin
Eddy Vluggen24-Sep-17 0:15
professionalEddy Vluggen24-Sep-17 0:15 
GeneralOnce a DatePicker always a DatePicker Pin
Brady Kelly9-Sep-17 6:08
Brady Kelly9-Sep-17 6:08 
GeneralRe: Once a DatePicker always a DatePicker Pin
KarstenK9-Sep-17 6:26
mveKarstenK9-Sep-17 6:26 
GeneralRe: Once a DatePicker always a DatePicker Pin
Brady Kelly9-Sep-17 21:45
Brady Kelly9-Sep-17 21:45 
GeneralRe: Once a DatePicker always a DatePicker Pin
Richard Deeming12-Sep-17 2:24
mveRichard Deeming12-Sep-17 2:24 
GeneralRe: Once a DatePicker always a DatePicker Pin
Brady Kelly12-Sep-17 18:28
Brady Kelly12-Sep-17 18:28 
GeneralOh maaan... Pin
PIEBALDconsult26-Aug-17 17:40
mvePIEBALDconsult26-Aug-17 17:40 
GeneralRe: Oh maaan... Pin
Daniel Pfeffer26-Aug-17 18:39
professionalDaniel Pfeffer26-Aug-17 18:39 
GeneralRe: Oh maaan... Pin
Bohdan Stupak19-Sep-17 5:07
professionalBohdan Stupak19-Sep-17 5:07 
RantDarn you Microsoft! Pin
PIEBALDconsult25-Aug-17 18:14
mvePIEBALDconsult25-Aug-17 18:14 
AnswerRe: Darn you Microsoft! Pin
RickZeeland25-Aug-17 19:57
mveRickZeeland25-Aug-17 19:57 
GeneralRe: Darn you Microsoft! Pin
Ron Anders26-Aug-17 7:15
Ron Anders26-Aug-17 7:15 
GeneralRe: Darn you Microsoft! Pin
Richard Deeming29-Aug-17 2:49
mveRichard Deeming29-Aug-17 2:49 
GeneralRe: Darn you Microsoft! Pin
PIEBALDconsult29-Aug-17 16:36
mvePIEBALDconsult29-Aug-17 16:36 
JokeRe: Darn you Microsoft! Pin
Richard Deeming30-Aug-17 1:02
mveRichard Deeming30-Aug-17 1:02 
GeneralRe: Darn you Microsoft! Pin
PIEBALDconsult30-Aug-17 3:10
mvePIEBALDconsult30-Aug-17 3: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.