Click here to Skip to main content
15,041,767 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 Vluggen13-Jan-16 9:17
professionalEddy Vluggen13-Jan-16 9:17 
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 
As used in many standards documents, "should" means, "This is a best practice. You're an idiot if you don't." It is the concensus advice of the standard-writers who are usually very experienced people. It is the behavior of a very junior, very unimformed person not to treat "should" advice in a standards document as "do it". But hey, knock yourself out, do a half-assed job. That's the way to impress your boss and your customers.

I think there are people who are still rebelling against "should" advice in standards documents because they hated hearing their mom tell them what they "should" do. Chances are mom was right too.

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 
GeneralTired of not having a generic version of IClonable? Pin
Brisingr Aerowing5-Jan-16 17:36
professionalBrisingr Aerowing5-Jan-16 17:36 
GeneralRe: Tired of not having a generic version of IClonable? Pin
Garth J Lancaster5-Jan-16 18:08
mveGarth J Lancaster5-Jan-16 18:08 
GeneralRe: Tired of not having a generic version of IClonable? Pin
PIEBALDconsult5-Jan-16 18:13
professionalPIEBALDconsult5-Jan-16 18:13 
GeneralRe: Tired of not having a generic version of IClonable? Pin
Dennis_E17-Jan-16 22:08
professionalDennis_E17-Jan-16 22:08 
GeneralDFA code generation Pin
danah gaz30-Dec-15 18:28
professionaldanah gaz30-Dec-15 18:28 
GeneralRe: DFA code generation Pin
Anurag Gandhi30-Dec-15 18:46
professionalAnurag Gandhi30-Dec-15 18:46 
GeneralRe: DFA code generation Pin
Eddy Vluggen31-Dec-15 9:15
professionalEddy Vluggen31-Dec-15 9:15 

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.