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++) Pinmembermark merrens2-May-13 6:16 
GeneralRe: for(int i=0; i<size; i++) PinmvpOriginalGriff2-May-13 6:58 
GeneralRe: for(int i=0; i<size; i++) PinmemberSentenryu2-May-13 8:07 
GeneralRe: for(int i=0; i<size; i++) PinprotectorAspDotNetDev30-Apr-13 9:15 
GeneralRe: for(int i=0; i<size; i++) PinmemberJacek Gajek24-May-13 1:32 
GeneralRe: for(int i=0; i<size; i++) PinprotectorAspDotNetDev24-May-13 5:54 
GeneralRe: for(int i=0; i<size; i++) PinmemberJacek Gajek24-May-13 12:47 
GeneralRe: for(int i=0; i<size; i++) PinmemberH.Brydon30-Apr-13 19:47 
Look at any mathematics text that is older than computers. You will find i, j, k, m, n rampant as indexes for just about any formula you can find. Also, x, y, z are common variables and A, B, C are commonly used as constants.
--
Harvey

GeneralRe: for(int i=0; i<size; i++) Pinmemberenglebart1-May-13 5:12 
GeneralRe: for(int i=0; i<size; i++) PinmemberJacquers30-Apr-13 21:20 
GeneralRe: for(int i=0; i<size; i++) PinmemberBrady Kelly30-Apr-13 22:09 
GeneralRe: for(int i=0; i<size; i++) PinmemberJacquers30-Apr-13 23:34 
GeneralRe: for(int i=0; i<size; i++) PinmemberDan Neely1-May-13 3:35 
GeneralRe: for(int i=0; i<size; i++) PinmemberYDaoust30-Apr-13 22:36 
GeneralRe: for(int i=0; i<size; i++) PinmemberMatthew Bache30-Apr-13 23:26 
JokeRe: for(int i=0; i<size; i++) PinmemberYDaoust1-May-13 0:23 
GeneralRe: for(int i=0; i<size; i++) PinmemberRob Grainger1-May-13 4:17 
GeneralRe: for(int i=0; i<size; i++) Pinmembergholamali Hosseini1-May-13 0:14 
JokeRe: for(int i=0; i<size; i++) PinmemberYDaoust1-May-13 0:27 
GeneralRe: for(int i=0; i<size; i++) Pinmembergholamali Hosseini1-May-13 0:49 
JokeRe: for(int i=0; i<size; i++) PinmemberYDaoust1-May-13 1:07 
GeneralRe: for(int i=0; i<size; i++) Pinmembergholamali Hosseini1-May-13 1:39 
GeneralRe: for(int i=0; i<size; i++) PinmemberWPerkins1-May-13 3:42 
GeneralRe: for(int i=0; i<size; i++) PinmembertumbledDown2earth1-May-13 4:17 
GeneralRe: for(int i=0; i<size; i++) PinmemberH.Brydon1-May-13 6:55 

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
Web02 | 2.8.1411023.1 | Last Updated 28 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid