Click here to Skip to main content
12,075,066 members (66,163 online)

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.

 
Generalfor(int i=0; i<size; i++) Pin
tumbledDown2earth29-Apr-13 22:58
membertumbledDown2earth29-Apr-13 22:58 
GeneralRe: for(int i=0; i<size; i++) Pin
Lloyd Atkinson29-Apr-13 23:03
memberLloyd Atkinson29-Apr-13 23:03 
GeneralRe: for(int i=0; i<size; i++) Pin
Freak3029-Apr-13 23:38
memberFreak3029-Apr-13 23:38 
GeneralRe: for(int i=0; i<size; i++) Pin
Member 46088983-May-13 20:46
memberMember 46088983-May-13 20:46 
GeneralRe: for(int i=0; i<size; i++) Pin
Amarnath S30-Apr-13 0:48
memberAmarnath S30-Apr-13 0:48 
GeneralRe: for(int i=0; i<size; i++) Pin
Rosenne30-Apr-13 21:18
memberRosenne30-Apr-13 21:18 
GeneralRe: for(int i=0; i<size; i++) Pin
greldak30-Apr-13 22:47
membergreldak30-Apr-13 22:47 
GeneralRe: for(int i=0; i<size; i++) Pin
dg6yhw111-May-13 6:32
memberdg6yhw111-May-13 6:32 
GeneralRe: for(int i=0; i<size; i++) Pin
dusty_dex30-Apr-13 1:26
memberdusty_dex30-Apr-13 1:26 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult30-Apr-13 2:56
professionalPIEBALDconsult30-Apr-13 2:56 
GeneralRe: for(int i=0; i<size; i++) Pin
jsc421-May-13 0:49
memberjsc421-May-13 0:49 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult2-May-13 3:26
professionalPIEBALDconsult2-May-13 3:26 
GeneralRe: for(int i=0; i<size; i++) Pin
OriginalGriff30-Apr-13 4:03
mvpOriginalGriff30-Apr-13 4:03 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 21:54
memberBrady Kelly30-Apr-13 21:54 
And, mainly, all the CS textbooks use i and j for loops.
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 22:01
memberBrady Kelly30-Apr-13 22:01 
GeneralRe: for(int i=0; i<size; i++) Pin
mark merrens30-Apr-13 6:24
membermark merrens30-Apr-13 6:24 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult30-Apr-13 16:43
professionalPIEBALDconsult30-Apr-13 16:43 
GeneralRe: for(int i=0; i<size; i++) Pin
mark merrens1-May-13 6:09
membermark merrens1-May-13 6:09 
GeneralRe: for(int i=0; i<size; i++) Pin
Sentenryu2-May-13 1:32
memberSentenryu2-May-13 1:32 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult2-May-13 3:28
professionalPIEBALDconsult2-May-13 3:28 
GeneralRe: for(int i=0; i<size; i++) Pin
Member-99756132-May-13 4:46
professionalMember-99756132-May-13 4:46 
GeneralRe: for(int i=0; i<size; i++) Pin
mark merrens2-May-13 6:16
membermark merrens2-May-13 6:16 
GeneralRe: for(int i=0; i<size; i++) Pin
OriginalGriff2-May-13 6:58
mvpOriginalGriff2-May-13 6:58 
GeneralRe: for(int i=0; i<size; i++) Pin
Sentenryu2-May-13 8:07
memberSentenryu2-May-13 8:07 
GeneralRe: for(int i=0; i<size; i++) Pin
AspDotNetDev30-Apr-13 9:15
protectorAspDotNetDev30-Apr-13 9:15 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacek Gajek24-May-13 1:32
memberJacek Gajek24-May-13 1:32 
GeneralRe: for(int i=0; i<size; i++) Pin
AspDotNetDev24-May-13 5:54
protectorAspDotNetDev24-May-13 5:54 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacek Gajek24-May-13 12:47
memberJacek Gajek24-May-13 12:47 
GeneralRe: for(int i=0; i<size; i++) Pin
H.Brydon30-Apr-13 19:47
memberH.Brydon30-Apr-13 19:47 
GeneralRe: for(int i=0; i<size; i++) Pin
englebart1-May-13 5:12
memberenglebart1-May-13 5:12 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacquers30-Apr-13 21:20
memberJacquers30-Apr-13 21:20 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 22:09
memberBrady Kelly30-Apr-13 22:09 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacquers30-Apr-13 23:34
memberJacquers30-Apr-13 23:34 
GeneralRe: for(int i=0; i<size; i++) Pin
Dan Neely1-May-13 3:35
memberDan Neely1-May-13 3:35 
GeneralRe: for(int i=0; i<size; i++) Pin
YDaoust30-Apr-13 22:36
memberYDaoust30-Apr-13 22:36 
GeneralRe: for(int i=0; i<size; i++) Pin
Matthew Bache30-Apr-13 23:26
memberMatthew Bache30-Apr-13 23:26 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust1-May-13 0:23
memberYDaoust1-May-13 0:23 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger1-May-13 4:17
memberRob Grainger1-May-13 4:17 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini1-May-13 0:14
membergholamali Hosseini1-May-13 0:14 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust1-May-13 0:27
memberYDaoust1-May-13 0:27 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini1-May-13 0:49
membergholamali Hosseini1-May-13 0:49 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust1-May-13 1:07
memberYDaoust1-May-13 1:07 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini1-May-13 1:39
membergholamali Hosseini1-May-13 1:39 
GeneralRe: for(int i=0; i<size; i++) Pin
WPerkins1-May-13 3:42
memberWPerkins1-May-13 3:42 
GeneralRe: for(int i=0; i<size; i++) Pin
tumbledDown2earth1-May-13 4:17
membertumbledDown2earth1-May-13 4:17 
GeneralRe: for(int i=0; i<size; i++) Pin
H.Brydon1-May-13 6:55
memberH.Brydon1-May-13 6:55 
GeneralRe: for(int i=0; i<size; i++) Pin
WPerkins1-May-13 8:47
memberWPerkins1-May-13 8:47 
GeneralRe: for(int i=0; i<size; i++) Pin
fredrick721-May-13 3:56
memberfredrick721-May-13 3:56 
GeneralRe: for(int i=0; i<size; i++) Pin
mc421-May-13 4:13
membermc421-May-13 4:13 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger1-May-13 4:20
memberRob Grainger1-May-13 4:20 

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.


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 12 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid