Click here to Skip to main content
14,271,874 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: You learn something new every day Pin
Gary R. Wheeler12-Jul-19 1:48
memberGary R. Wheeler12-Jul-19 1:48 
GeneralRe: You learn something new every day Pin
raddevus12-Jul-19 7:47
mvaraddevus12-Jul-19 7:47 
GeneralRe: You learn something new every day Pin
Gary R. Wheeler12-Jul-19 16:09
memberGary R. Wheeler12-Jul-19 16:09 
GeneralRe: You learn something new every day Pin
obermd24-Jul-19 3:21
memberobermd24-Jul-19 3:21 
GeneralRe: You learn something new every day Pin
Gary R. Wheeler24-Jul-19 15:15
memberGary R. Wheeler24-Jul-19 15:15 
GeneralRe: You learn something new every day Pin
CodeWraith29-Jul-19 5:01
memberCodeWraith29-Jul-19 5:01 
GeneralRe: You learn something new every day Pin
Gary R. Wheeler29-Jul-19 15:01
memberGary R. Wheeler29-Jul-19 15:01 
GeneralRe: You learn something new every day Pin
CodeWraith29-Jul-19 20:34
memberCodeWraith29-Jul-19 20:34 
Gary R. Wheeler wrote:
To date in my career I think that's the smallest body of code that I've spent that much time (three years or so) concentrating on.
Size does not matter. Smile | :)

The real question is: Was it worth it? Sounds like you spent most of that time optimizing the hell out of that code and making it 200% reliable. That sort of code tends to become 'spaghettish' and hard to maintain. No time to waste hopping up and down the stack calling neat subroutines.

Still, that's what I like to spend my time on, not where I put some braces or what syntactic sugar makes the code more beautiful or not.
I have lived with several Zen masters - all of them were cats.

His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

GeneralRe: You learn something new every day Pin
Gary R. Wheeler31-Jul-19 11:39
memberGary R. Wheeler31-Jul-19 11:39 
GeneralRe: You learn something new every day Pin
CodeWraith31-Jul-19 19:23
memberCodeWraith31-Jul-19 19:23 
GeneralRe: You learn something new every day Pin
railita1-Aug-19 12:23
grouprailita1-Aug-19 12:23 
GeneralRe: You learn something new every day Pin
Member 1433107618-Jul-19 3:10
memberMember 1433107618-Jul-19 3:10 
GeneralRe: You learn something new every day Pin
maze323-Jul-19 23:30
professionalmaze323-Jul-19 23:30 
GeneralRe: You learn something new every day Pin
Gary Wheeler24-Jul-19 1:44
memberGary Wheeler24-Jul-19 1:44 
GeneralDragging Hairlines to Widen Fields Pin
David A. Gray29-Jun-19 8:10
groupDavid A. Gray29-Jun-19 8:10 
JokeRe: Dragging Hairlines to Widen Fields PinPopular
jsc4229-Jun-19 21:33
professionaljsc4229-Jun-19 21:33 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray30-Jun-19 10:37
groupDavid A. Gray30-Jun-19 10:37 
GeneralRe: Dragging Hairlines to Widen Fields Pin
englebart1-Jul-19 2:42
memberenglebart1-Jul-19 2:42 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray1-Jul-19 6:08
groupDavid A. Gray1-Jul-19 6:08 
GeneralRe: Dragging Hairlines to Widen Fields Pin
englebart1-Jul-19 7:38
memberenglebart1-Jul-19 7:38 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray1-Jul-19 7:47
groupDavid A. Gray1-Jul-19 7:47 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Eddy Vluggen1-Jul-19 6:21
mveEddy Vluggen1-Jul-19 6:21 
GeneralRe: Dragging Hairlines to Widen Fields Pin
David A. Gray1-Jul-19 7:48
groupDavid A. Gray1-Jul-19 7:48 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Eddy Vluggen1-Jul-19 7:55
mveEddy Vluggen1-Jul-19 7:55 
GeneralRe: Dragging Hairlines to Widen Fields Pin
Super Lloyd3-Jul-19 20:49
memberSuper Lloyd3-Jul-19 20:49 

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.