Click here to Skip to main content
11,715,160 members (65,517 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, 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++) Pin
Jacek Gajek24-May-13 0:32
memberJacek Gajek24-May-13 0:32 
GeneralRe: for(int i=0; i<size; i++) Pin
AspDotNetDev24-May-13 4:54
protectorAspDotNetDev24-May-13 4:54 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacek Gajek24-May-13 11:47
memberJacek Gajek24-May-13 11:47 
GeneralRe: for(int i=0; i<size; i++) Pin
H.Brydon30-Apr-13 18:47
memberH.Brydon30-Apr-13 18:47 
GeneralRe: for(int i=0; i<size; i++) Pin
englebart1-May-13 4:12
memberenglebart1-May-13 4:12 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacquers30-Apr-13 20:20
memberJacquers30-Apr-13 20:20 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 21:09
memberBrady Kelly30-Apr-13 21:09 
GeneralRe: for(int i=0; i<size; i++) Pin
Jacquers30-Apr-13 22:34
memberJacquers30-Apr-13 22:34 
GeneralRe: for(int i=0; i<size; i++) Pin
Dan Neely1-May-13 2:35
memberDan Neely1-May-13 2:35 
GeneralRe: for(int i=0; i<size; i++) Pin
YDaoust30-Apr-13 21:36
memberYDaoust30-Apr-13 21:36 
GeneralRe: for(int i=0; i<size; i++) Pin
Matthew Bache30-Apr-13 22:26
memberMatthew Bache30-Apr-13 22:26 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust30-Apr-13 23:23
memberYDaoust30-Apr-13 23:23 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger1-May-13 3:17
memberRob Grainger1-May-13 3:17 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini30-Apr-13 23:14
membergholamali Hosseini30-Apr-13 23:14 
i am using 'i' and 'j' for iterating 2D arrays because 'i' and 'j' mean x and y in Cartesian coordinates. Smile | :)

http://butterfly.blog.ir[^]
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust30-Apr-13 23:27
memberYDaoust30-Apr-13 23:27 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini30-Apr-13 23:49
membergholamali Hosseini30-Apr-13 23:49 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust1-May-13 0:07
memberYDaoust1-May-13 0:07 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini1-May-13 0:39
membergholamali Hosseini1-May-13 0:39 
GeneralRe: for(int i=0; i<size; i++) Pin
WPerkins1-May-13 2:42
memberWPerkins1-May-13 2:42 
GeneralRe: for(int i=0; i<size; i++) Pin
tumbledDown2earth1-May-13 3:17
membertumbledDown2earth1-May-13 3:17 
GeneralRe: for(int i=0; i<size; i++) Pin
H.Brydon1-May-13 5:55
memberH.Brydon1-May-13 5:55 
GeneralRe: for(int i=0; i<size; i++) Pin
WPerkins1-May-13 7:47
memberWPerkins1-May-13 7:47 
GeneralRe: for(int i=0; i<size; i++) Pin
fredrick721-May-13 2:56
memberfredrick721-May-13 2:56 
GeneralRe: for(int i=0; i<size; i++) Pin
mc421-May-13 3:13
membermc421-May-13 3:13 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger1-May-13 3:20
memberRob Grainger1-May-13 3:20 
GeneralRe: for(int i=0; i<size; i++) Pin
mc4222-Oct-14 10:46
membermc4222-Oct-14 10:46 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger22-Oct-14 22:12
memberRob Grainger22-Oct-14 22:12 
GeneralRe: for(int i=0; i<size; i++) Pin
Michael A. Cochran1-May-13 3:43
memberMichael A. Cochran1-May-13 3:43 
GeneralRe: for(int i=0; i<size; i++) Pin
Cj Welborn1-May-13 4:58
memberCj Welborn1-May-13 4:58 
GeneralRe: for(int i=0; i<size; i++) Pin
Antonino Porcino1-May-13 5:03
memberAntonino Porcino1-May-13 5:03 
GeneralRe: for(int i=0; i<size; i++) Pin
RafagaX1-May-13 6:38
memberRafagaX1-May-13 6:38 
GeneralRe: for(int i=0; i<size; i++) Pin
Carlosian2-May-13 4:36
memberCarlosian2-May-13 4:36 
GeneralRe: for(int i=0; i<size; i++) Pin
Member 100271053-May-13 6:15
memberMember 100271053-May-13 6:15 
GeneralRe: for(int i=0; i<size; i++) Pin
robocodeboy5-May-13 23:27
memberrobocodeboy5-May-13 23:27 
GeneralRe: for(int i=0; i<size; i++) Pin
Nicolas Dorier4-May-13 21:37
memberNicolas Dorier4-May-13 21:37 
GeneralRe: for(int i=0; i<size; i++) Pin
peterchen6-May-13 2:58
memberpeterchen6-May-13 2:58 
GeneralRe: for(int i=0; i<size; i++) Pin
DanielSheets6-May-13 7:12
memberDanielSheets6-May-13 7:12 
GeneralRe: for(int i=0; i<size; i++) Pin
DerekTP1238-May-13 0:26
memberDerekTP1238-May-13 0:26 
Generalwhile(life!=death) Pin
Bikash Prakash Dash11-May-13 5:03
memberBikash Prakash Dash11-May-13 5:03 
GeneralRe: for(int i=0; i<size; i++) Pin
PeterTheSwede19-May-13 23:58
memberPeterTheSwede19-May-13 23:58 
GeneralRe: for(int i=0; i<size; i++) Pin
John Hunley29-May-13 8:46
memberJohn Hunley29-May-13 8:46 
GeneralRe: for(int i=0; i<size; i++) Pin
BCantor31-May-13 9:54
memberBCantor31-May-13 9:54 
GeneralInteresting Observation Pin
virang_2129-Apr-13 14:45
membervirang_2129-Apr-13 14:45 
GeneralRe: Interesting Observation Pin
Pablo Aliskevicius29-Apr-13 19:47
memberPablo Aliskevicius29-Apr-13 19:47 
GeneralRe: Interesting Observation Pin
agolddog1-May-13 3:42
memberagolddog1-May-13 3:42 
GeneralRe: Interesting Observation Pin
Raja Sekhar S5-Jun-13 21:14
professionalRaja Sekhar S5-Jun-13 21:14 
GeneralRe: Interesting Observation Pin
Pablo Aliskevicius5-Jun-13 21:21
memberPablo Aliskevicius5-Jun-13 21:21 
GeneralRe: Interesting Observation Pin
Raja Sekhar S5-Jun-13 22:05
professionalRaja Sekhar S5-Jun-13 22:05 
GeneralRe: Interesting Observation Pin
Pablo Aliskevicius5-Jun-13 23:31
memberPablo Aliskevicius5-Jun-13 23:31 
GeneralRe: Interesting Observation Pin
Raja Sekhar S5-Jun-13 23:39
professionalRaja Sekhar S5-Jun-13 23:39 

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
Web01 | 2.8.150901.1 | Last Updated 2 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid