Click here to Skip to main content
15,897,704 members

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.

 
GeneralYAVBH Pin
Rob Grainger18-Aug-11 6:03
Rob Grainger18-Aug-11 6:03 
GeneralRe: YAVBH Pin
Peter_in_278018-Aug-11 11:57
professionalPeter_in_278018-Aug-11 11:57 
GeneralRe: YAVBH Pin
Rob Grainger18-Aug-11 23:31
Rob Grainger18-Aug-11 23:31 
JokeRe: YAVBH Pin
Julien Villers21-Aug-11 22:38
professionalJulien Villers21-Aug-11 22:38 
GeneralRe: YAVBH Pin
Rob Grainger22-Aug-11 5:41
Rob Grainger22-Aug-11 5:41 
Generalstrange way to handle click event of button placed in GridView Pin
M I developer17-Aug-11 21:33
professionalM I developer17-Aug-11 21:33 
GeneralRedundancy Peaking Pin
Jyothikarthik_N12-Aug-11 0:07
Jyothikarthik_N12-Aug-11 0:07 
GeneralRe: Redundancy Peaking Pin
Allan Thomas12-Aug-11 1:58
Allan Thomas12-Aug-11 1:58 
Unfortunately this is the biggest issue I have about vb. It's too easy to be deep in thought and literally code what you are thinking and make the code more annoying to read. i.e. If control x visible property is true then do this and this and this. I usually pick it up after I have written it and clean it up afterwards but sometimes I've come across code a few months later and go whoops.

Hopefully the compiler is smart enough to fix the extra redundancy I've added so it doesn't effect performance.
GeneralRe: Redundancy Peaking Pin
Member 256047216-Aug-11 0:39
Member 256047216-Aug-11 0:39 
GeneralRe: Redundancy Peaking Pin
mdblack9816-Aug-11 5:40
mdblack9816-Aug-11 5:40 
GeneralRe: Redundancy Peaking Pin
CDP180217-Aug-11 3:07
CDP180217-Aug-11 3:07 
GeneralRe: Redundancy Peaking Pin
mdblack9817-Aug-11 8:27
mdblack9817-Aug-11 8:27 
GeneralRe: Redundancy Peaking Pin
CDP180217-Aug-11 20:10
CDP180217-Aug-11 20:10 
GeneralRe: Redundancy Peaking Pin
jsc421-Sep-11 4:24
professionaljsc421-Sep-11 4:24 
GeneralRe: Redundancy Peaking Pin
Sander Rossel12-Aug-11 22:55
professionalSander Rossel12-Aug-11 22:55 
GeneralRe: Redundancy Peaking Pin
Nikola Radosavljevic16-Aug-11 0:44
Nikola Radosavljevic16-Aug-11 0:44 
GeneralRe: Redundancy Peaking Pin
MikeD 216-Aug-11 2:26
MikeD 216-Aug-11 2:26 
GeneralRe: Redundancy Peaking Pin
Nagy Vilmos16-Aug-11 3:10
professionalNagy Vilmos16-Aug-11 3:10 
GeneralRe: Redundancy Peaking Pin
Nikola Radosavljevic16-Aug-11 3:17
Nikola Radosavljevic16-Aug-11 3:17 
GeneralRe: Redundancy Peaking Pin
Nagy Vilmos16-Aug-11 3:22
professionalNagy Vilmos16-Aug-11 3:22 
GeneralRe: Redundancy Peaking Pin
Nikola Radosavljevic16-Aug-11 3:37
Nikola Radosavljevic16-Aug-11 3:37 
GeneralRe: Redundancy Peaking Pin
Nagy Vilmos16-Aug-11 3:52
professionalNagy Vilmos16-Aug-11 3:52 
GeneralRe: Redundancy Peaking Pin
Nikola Radosavljevic16-Aug-11 3:55
Nikola Radosavljevic16-Aug-11 3:55 
GeneralRe: Redundancy Peaking Pin
Sander Rossel16-Aug-11 7:06
professionalSander Rossel16-Aug-11 7:06 
GeneralRe: Redundancy Peaking Pin
Sander Rossel16-Aug-11 7:13
professionalSander Rossel16-Aug-11 7:13 

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.