Click here to Skip to main content

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, embarrasing 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: for(int i=0; i<size; i++) PinmemberNicolas Dorier4-May-13 21:37 
GeneralRe: for(int i=0; i<size; i++) Pinmemberpeterchen6-May-13 2:58 
GeneralRe: for(int i=0; i<size; i++) PinmemberDanielSheets6-May-13 7:12 
GeneralRe: for(int i=0; i<size; i++) PinmemberDerekTP1238-May-13 0:26 
Generalwhile(life!=death) PinmemberBikash Prakash Dash11-May-13 5:03 
GeneralRe: for(int i=0; i<size; i++) PinmemberPeterTheSwede19-May-13 23:58 
GeneralRe: for(int i=0; i<size; i++) PinmemberJohn Hunley29-May-13 8:46 
GeneralRe: for(int i=0; i<size; i++) PinmemberBCantor31-May-13 9:54 
GeneralInteresting Observation Pinmembervirang_2129-Apr-13 14:45 
GeneralRe: Interesting Observation PinmemberPablo Aliskevicius29-Apr-13 19:47 
GeneralRe: Interesting Observation Pinmemberagolddog1-May-13 3:42 
GeneralRe: Interesting Observation PinprofessionalRaja Sekhar S5-Jun-13 21:14 
GeneralRe: Interesting Observation PinmemberPablo Aliskevicius5-Jun-13 21:21 
GeneralRe: Interesting Observation PinprofessionalRaja Sekhar S5-Jun-13 22:05 
Pablo Aliskevicius wrote:
The set statement is conditional (first one after the if).

I Understood that but even though the cond'n is false... the variable @currDate is assigned to Current date...
That's the thing am unable to understand... Spare my Dumbness.... am trying to learn new things about if.....
GeneralRe: Interesting Observation PinmemberPablo Aliskevicius5-Jun-13 23:31 
GeneralRe: Interesting Observation PinprofessionalRaja Sekhar S5-Jun-13 23:39 
GeneralNot 'Clap' but 'CLAP', dammit. [modified] PinmemberBrady Kelly24-Apr-13 22:36 
GeneralRe: Not 'Clap' but 'CLAP', dammit. [modified] Pinmemberdusty_dex24-Apr-13 23:19 
GeneralRe: Not 'Clap' but 'CLAP', dammit. PinmemberBrady Kelly24-Apr-13 23:33 
GeneralRe: Not 'Clap' but 'CLAP', dammit. PinmemberH.Brydon25-Apr-13 14:59 
GeneralRe: Not 'Clap' but 'CLAP', dammit. PinprofessionalBrisingr Aerowing25-Apr-13 1:16 
GeneralRe: Not 'Clap' but 'CLAP', dammit. PinmemberBrady Kelly25-Apr-13 2:56 
GeneralRe: Not 'Clap' but 'CLAP', dammit. Pinmemberhvanzyll26-Apr-13 5:26 
GeneralRe: Not 'Clap' but 'CLAP', dammit. PinmemberRob Grainger1-May-13 3:23 
GeneralProduction code adds a BCC to email account of developer Pinmember0bx24-Apr-13 5:48 
AnswerRe: Production code adds a BCC to email account of developer PinprotectorAspDotNetDev24-Apr-13 5:54 
GeneralRe: Production code adds a BCC to email account of developer PinmemberCIDev25-Apr-13 9:17 
GeneralRe: Production code adds a BCC to email account of developer PinprotectorAspDotNetDev25-Apr-13 9:20 
GeneralRe: Production code adds a BCC to email account of developer Pinmemberagolddog26-Apr-13 3:41 
GeneralRe: Production code adds a BCC to email account of developer PinprofessionalBernhard Hiller25-Apr-13 3:54 
GeneralRe: Production code adds a BCC to email account of developer PinmemberRafagaX26-Apr-13 4:42 
GeneralNested if-else statements... Pinmember ProgramFOX23-Apr-13 7:21 
GeneralRe: Nested if-else statements... Pinmember GeekBond 23-Apr-13 7:49 
GeneralRe: Nested if-else statements... PinmvpOriginalGriff23-Apr-13 8:12 
GeneralRe: Nested if-else statements... Pinmembers_mon23-Apr-13 9:48 
GeneralRe: Nested if-else statements... PinmemberMonaco.Bavarian23-Apr-13 19:54 
GeneralRe: Nested if-else statements... PinmemberMarius ten Napel24-Apr-13 1:51 
GeneralRe: Nested if-else statements... Pinmemberryanb3124-Apr-13 2:10 
GeneralRe: Nested if-else statements... PinmemberMarius ten Napel24-Apr-13 2:36 
GeneralRe: Nested if-else statements... Pinmemberdusty_dex24-Apr-13 3:43 
GeneralRe: Nested if-else statements... PinmemberNAANsoft24-Apr-13 2:44 
GeneralRe: Nested if-else statements... PinmemberLee Chetwynd24-Apr-13 5:07 
GeneralRe: Nested if-else statements... PinmemberRafagaX24-Apr-13 5:41 
GeneralRe: Nested if-else statements... PinmembertumbledDown2earth29-Apr-13 20:32 
GeneralRe: Nested if-else statements... Pinmemberfulloflove2-May-13 17:19 
GeneralRe: Nested if-else statements... PinprofessionalFilipe Moreira de Oliveira18-May-13 8:00 
Answer[Solved] Why Do Computer Counts from Zero. [modified] Pinprofessionalkburman622-Apr-13 6:47 
GeneralRe: [Solved] Why Do Computer Counts from Zero. PinprofessionalMarco Bertschi22-Apr-13 7:18 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pinmember ProgramFOX22-Apr-13 7:25 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pinmember d@nish 22-Apr-13 7:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 22 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid