Click here to Skip to main content
15,072,267 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: Doesn't "should" mean it's not required? Pin
Eddy Vluggen11-Jan-16 1:53
professionalEddy Vluggen11-Jan-16 1:53 
GeneralRe: Doesn't "should" mean it's not required? Pin
Richard Deeming11-Jan-16 4:13
mveRichard Deeming11-Jan-16 4:13 
GeneralRe: Doesn't "should" mean it's not required? Pin
Eddy Vluggen11-Jan-16 5:26
professionalEddy Vluggen11-Jan-16 5:26 
GeneralRe: Doesn't "should" mean it's not required? Pin
PIEBALDconsult11-Jan-16 17:24
professionalPIEBALDconsult11-Jan-16 17:24 
GeneralRe: Doesn't "should" mean it's not required? Pin
Eddy Vluggen12-Jan-16 2:32
professionalEddy Vluggen12-Jan-16 2:32 
GeneralRe: Doesn't "should" mean it's not required? Pin
WiganLatics12-Jan-16 6:28
professionalWiganLatics12-Jan-16 6:28 
GeneralRe: Doesn't "should" mean it's not required? Pin
James Lonero13-Jan-16 8:52
MemberJames Lonero13-Jan-16 8:52 
GeneralRe: Doesn't "should" mean it's not required? Pin
Eddy Vluggen13-Jan-16 9:17
professionalEddy Vluggen13-Jan-16 9:17 
James Lonero wrote:
In most cases, 'should' gives you some wiggle room.
So, more a very strong recommendation. Something like "all variable names should have a meaningfull name", and "code comments should be not stating the obvious".

James Lonero wrote:
For DOD purposes, 'shall' means absolutely must be, required to be.
Good thing I don't work there then. We shall die, the rest is uncertain and open to discussion Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Doesn't "should" mean it's not required? Pin
Amarnath S11-Jan-16 2:04
professionalAmarnath S11-Jan-16 2:04 
GeneralRe: Doesn't "should" mean it's not required? Pin
Daniel Pfeffer11-Jan-16 2:25
professionalDaniel Pfeffer11-Jan-16 2:25 
GeneralRe: Doesn't "should" mean it's not required? Pin
Member 1188034312-Jan-16 1:58
MemberMember 1188034312-Jan-16 1:58 
GeneralRe: Doesn't "should" mean it's not required? Pin
MikeTheFid12-Jan-16 3:27
MemberMikeTheFid12-Jan-16 3:27 
GeneralRe: Doesn't "should" mean it's not required? Pin
BrainiacV12-Jan-16 3:59
MemberBrainiacV12-Jan-16 3:59 
GeneralRe: Doesn't "should" mean it's not required? Pin
Gerry Schmitz12-Jan-16 4:01
mveGerry Schmitz12-Jan-16 4:01 
GeneralRe: Doesn't "should" mean it's not required? Pin
SeattleC++12-Jan-16 5:52
MemberSeattleC++12-Jan-16 5:52 
GeneralRe: Doesn't "should" mean it's not required? Pin
Member 798912212-Jan-16 12:38
MemberMember 798912212-Jan-16 12:38 
GeneralRe: Doesn't "should" mean it's not required? Pin
PIEBALDconsult12-Jan-16 12:43
professionalPIEBALDconsult12-Jan-16 12:43 
GeneralEarly candidate for most useless comment of 2016 (with optional useless variable name award) Pin
Fueled By Decaff8-Jan-16 0:09
MemberFueled By Decaff8-Jan-16 0:09 
JokeRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
User 110609798-Jan-16 1:18
MemberUser 110609798-Jan-16 1:18 
GeneralRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
RugbyLeague8-Jan-16 3:33
MemberRugbyLeague8-Jan-16 3:33 
GeneralRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
User 110609798-Jan-16 4:02
MemberUser 110609798-Jan-16 4:02 
GeneralRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
PIEBALDconsult9-Jan-16 5:36
professionalPIEBALDconsult9-Jan-16 5:36 
GeneralRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
Amarnath S10-Jan-16 21:55
professionalAmarnath S10-Jan-16 21:55 
GeneralRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
Gerry Schmitz12-Jan-16 3:57
mveGerry Schmitz12-Jan-16 3:57 
GeneralRe: Early candidate for most useless comment of 2016 (with optional useless variable name award) Pin
imagiro13-Jan-16 21:19
Memberimagiro13-Jan-16 21:19 

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.