Click here to Skip to main content
15,867,686 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: Lets make sure, shall we Pin
User 110609796-Nov-15 8:43
User 110609796-Nov-15 8:43 
GeneralRe: Lets make sure, shall we Pin
MacSpudster19-Nov-15 12:30
professionalMacSpudster19-Nov-15 12:30 
GeneralRe: Lets make sure, shall we Pin
Xmen Real 16-Dec-15 2:55
professional Xmen Real 16-Dec-15 2:55 
GeneralRe: Lets make sure, shall we Pin
User 1106097918-Dec-15 5:38
User 1106097918-Dec-15 5:38 
GeneralRe: Lets make sure, shall we Pin
Nguyen.H.H.Dang21-Aug-16 15:06
professionalNguyen.H.H.Dang21-Aug-16 15:06 
GeneralWhy name things sensibly, when you could also not? Pin
r_hyde2-Nov-15 14:16
r_hyde2-Nov-15 14:16 
GeneralRe: Why name things sensibly, when you could also not? Pin
PIEBALDconsult2-Nov-15 14:29
mvePIEBALDconsult2-Nov-15 14:29 
JokeRe: Why name things sensibly, when you could also not? Pin
Amarnath S2-Nov-15 17:18
professionalAmarnath S2-Nov-15 17:18 
My deciphering of four of those variable names is:

C++
s    // represents 'something'
sd   // something different
p    // pointer to s
pd   // pointer to sd


Smile | :)
GeneralRe: Why name things sensibly, when you could also not? Pin
r_hyde2-Nov-15 20:13
r_hyde2-Nov-15 20:13 
GeneralRe: Why name things sensibly, when you could also not? Pin
Super Lloyd2-Nov-15 17:22
Super Lloyd2-Nov-15 17:22 
GeneralRe: Why name things sensibly, when you could also not? Pin
Bernhard Hiller3-Nov-15 1:01
Bernhard Hiller3-Nov-15 1:01 
GeneralRe: Why name things sensibly, when you could also not? Pin
Brisingr Aerowing5-Nov-15 4:54
professionalBrisingr Aerowing5-Nov-15 4:54 
GeneralRe: Why name things sensibly, when you could also not? Pin
Gary R. Wheeler7-Dec-15 12:59
Gary R. Wheeler7-Dec-15 12:59 
GeneralRe: Why name things sensibly, when you could also not? Pin
zandam23-Dec-15 1:10
zandam23-Dec-15 1:10 
GeneralRe: Why name things sensibly, when you could also not? Pin
BillW3323-Nov-15 11:21
professionalBillW3323-Nov-15 11:21 
GeneralRe: Why name things sensibly, when you could also not? Pin
Sinisa Hajnal23-Nov-15 20:25
professionalSinisa Hajnal23-Nov-15 20:25 
GeneralWho needs security through obscurity? Pin
PIEBALDconsult31-Oct-15 16:45
mvePIEBALDconsult31-Oct-15 16:45 
GeneralRe: Who needs security through obscurity? Pin
Nicolas Dorier31-Oct-15 19:20
professionalNicolas Dorier31-Oct-15 19:20 
GeneralRe: Who needs security through obscurity? Pin
Richard Deeming2-Nov-15 2:30
mveRichard Deeming2-Nov-15 2:30 
GeneralRe: Who needs security through obscurity? Pin
Eddy Vluggen2-Nov-15 2:48
professionalEddy Vluggen2-Nov-15 2:48 
GeneralRe: Who needs security through obscurity? Pin
Richard Deeming2-Nov-15 3:00
mveRichard Deeming2-Nov-15 3:00 
GeneralRe: Who needs security through obscurity? Pin
Eddy Vluggen2-Nov-15 3:27
professionalEddy Vluggen2-Nov-15 3:27 
GeneralRe: Who needs security through obscurity? Pin
Bernhard Hiller3-Nov-15 1:04
Bernhard Hiller3-Nov-15 1:04 
GeneralDon't know whether it's weird, or wonderful Pin
phil.o13-Oct-15 8:44
professionalphil.o13-Oct-15 8:44 
GeneralRe: Don't know whether it's weird, or wonderful Pin
Daniel Pfeffer15-Oct-15 0:27
professionalDaniel Pfeffer15-Oct-15 0:27 

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.