Click here to Skip to main content
11,638,881 members (70,717 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: Nested if-else statements... Pin
s_mon23-Apr-13 9:48
members_mon23-Apr-13 9:48 
GeneralRe: Nested if-else statements... Pin
Monaco.Bavarian23-Apr-13 19:54
memberMonaco.Bavarian23-Apr-13 19:54 
GeneralRe: Nested if-else statements... Pin
Marius ten Napel24-Apr-13 1:51
memberMarius ten Napel24-Apr-13 1:51 
GeneralRe: Nested if-else statements... Pin
ryanb3124-Apr-13 2:10
memberryanb3124-Apr-13 2:10 
GeneralRe: Nested if-else statements... Pin
Marius ten Napel24-Apr-13 2:36
memberMarius ten Napel24-Apr-13 2:36 
GeneralRe: Nested if-else statements... Pin
dusty_dex24-Apr-13 3:43
memberdusty_dex24-Apr-13 3:43 
GeneralRe: Nested if-else statements... Pin
NAANsoft24-Apr-13 2:44
memberNAANsoft24-Apr-13 2:44 
GeneralRe: Nested if-else statements... Pin
Lee Chetwynd24-Apr-13 5:07
memberLee Chetwynd24-Apr-13 5:07 
GeneralRe: Nested if-else statements... Pin
RafagaX24-Apr-13 5:41
memberRafagaX24-Apr-13 5:41 
GeneralRe: Nested if-else statements... Pin
tumbledDown2earth29-Apr-13 20:32
membertumbledDown2earth29-Apr-13 20:32 
GeneralRe: Nested if-else statements... Pin
fulloflove2-May-13 17:19
memberfulloflove2-May-13 17:19 
GeneralRe: Nested if-else statements... Pin
Filipe Moreira de Oliveira18-May-13 8:00
professionalFilipe Moreira de Oliveira18-May-13 8:00 
Answer[Solved] Why Do Computer Counts from Zero. Pin
kburman622-Apr-13 6:47
professionalkburman622-Apr-13 6:47 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi22-Apr-13 7:18
professionalMarco Bertschi22-Apr-13 7:18 
kburman6 wrote:
Not a huge difference but it adds an unnecessary subtraction for each access.

And because unnecessary calcs are slowing down the computers' speed it was just logical to do it as simple as possible. Developer's course at my school, lesson 1 (or two, however; It was at the very beginning when they explained it to us).

GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
ProgramFOX22-Apr-13 7:25
member ProgramFOX22-Apr-13 7:25 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
d@nish 22-Apr-13 7:36
member d@nish 22-Apr-13 7:36 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman622-Apr-13 7:44
professionalkburman622-Apr-13 7:44 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi22-Apr-13 7:45
professionalMarco Bertschi22-Apr-13 7:45 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman622-Apr-13 7:36
professionalkburman622-Apr-13 7:36 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi22-Apr-13 7:46
professionalMarco Bertschi22-Apr-13 7:46 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman622-Apr-13 7:52
professionalkburman622-Apr-13 7:52 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
OriginalGriff22-Apr-13 8:43
mvpOriginalGriff22-Apr-13 8:43 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Erik Rude24-Apr-13 3:55
memberErik Rude24-Apr-13 3:55 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult24-Apr-13 4:08
memberPIEBALDconsult24-Apr-13 4:08 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Clifford Nelson22-Apr-13 9:09
memberClifford Nelson22-Apr-13 9:09 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult24-Apr-13 4:06
memberPIEBALDconsult24-Apr-13 4:06 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Clifford Nelson24-Apr-13 10:14
memberClifford Nelson24-Apr-13 10:14 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult24-Apr-13 11:58
memberPIEBALDconsult24-Apr-13 11:58 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Clifford Nelson24-Apr-13 12:48
memberClifford Nelson24-Apr-13 12:48 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult24-Apr-13 16:00
memberPIEBALDconsult24-Apr-13 16:00 
JokeRe: [Solved] Why Do Computer Counts from Zero. Pin
Keith Barrow23-Apr-13 0:37
mentorKeith Barrow23-Apr-13 0:37 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman623-Apr-13 5:05
professionalkburman623-Apr-13 5:05 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
jsc4223-Apr-13 22:59
memberjsc4223-Apr-13 22:59 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
svella24-Apr-13 3:58
membersvella24-Apr-13 3:58 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
jsc4224-Apr-13 4:37
memberjsc4224-Apr-13 4:37 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
svella24-Apr-13 6:09
membersvella24-Apr-13 6:09 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
danataylor24-Apr-13 5:28
memberdanataylor24-Apr-13 5:28 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
KP Lee24-Apr-13 20:45
memberKP Lee24-Apr-13 20:45 
GeneralMessage Automatically Removed Pin
20-Apr-13 5:39
memberMember 1000120220-Apr-13 5:39 
GeneralRe: waht is this code means in web programming t=login%3CScript%20%3Ealert(%22HelloSIG%22)%3C/Script%3E t=%3CScript+%3Ealert%28%22HelloSIG%22%29%3C%2FScript%3E] d=hTNonAxS6pSg7xdyL1eUirZ8bPjtkz-rbl6VNlqYedqYrHs_bDcid9Hlixt8Y2moR5bKlpB-ULt3A_ Pin
mark merrens20-Apr-13 5:47
membermark merrens20-Apr-13 5:47 
GeneralRe: waht is this code means in web programming t=login%3CScript%20%3Ealert(%22HelloSIG%22)%3C/Script%3E t=%3CScript+%3Ealert%28%22HelloSIG%22%29%3C%2FScript%3E] d=hTNonAxS6pSg7xdyL1eUirZ8bPjtkz-rbl6VNlqYedqYrHs_bDcid9Hlixt8Y2moR5bKlpB-ULt3A_ Pin
RedDK20-Apr-13 8:27
memberRedDK20-Apr-13 8:27 
GeneralRe: waht is this code means in web programming t=login%3CScript%20%3Ealert(%22HelloSIG%22)%3C/Script%3E t=%3CScript+%3Ealert%28%22HelloSIG%22%29%3C%2FScript%3E] d=hTNonAxS6pSg7xdyL1eUirZ8bPjtkz-rbl6VNlqYedqYrHs_bDcid9Hlixt8Y2moR5bKlpB-ULt3A_ Pin
PIEBALDconsult20-Apr-13 18:06
memberPIEBALDconsult20-Apr-13 18:06 
GeneralMessage Automatically Removed Pin
20-Apr-13 4:52
memberMember 1000120220-Apr-13 4:52 
GeneralRe: Can anyone help me identify the strange condes that I have in my webserver log files( asp.net application) and what to do to protect my data Pin
PIEBALDconsult20-Apr-13 5:05
memberPIEBALDconsult20-Apr-13 5:05 
GeneralRe: Can anyone help me identify the strange condes that I have in my webserver log files( asp.net application) and what to do to protect my data Pin
Member 1000120220-Apr-13 5:21
memberMember 1000120220-Apr-13 5:21 
GeneralRe: Can anyone help me identify the strange condes that I have in my webserver log files( asp.net application) and what to do to protect my data Pin
ProgramFOX21-Apr-13 3:32
member ProgramFOX21-Apr-13 3:32 
RantYet another Subversion rant Pin
jim lahey19-Apr-13 5:00
memberjim lahey19-Apr-13 5:00 
GeneralRe: Yet another Subversion rant Pin
ryanb3119-Apr-13 5:24
memberryanb3119-Apr-13 5:24 
GeneralRe: Yet another Subversion rant Pin
David Kentley19-Apr-13 5:34
memberDavid Kentley19-Apr-13 5:34 
GeneralRe: Yet another Subversion rant Pin
ryanb3119-Apr-13 5:39
memberryanb3119-Apr-13 5: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
Web04 | 2.8.150728.1 | Last Updated 31 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid