Click here to Skip to main content
15,892,059 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.

 
GeneralRe: Testing the null Pin
bourdiitsme7-Sep-10 0:14
bourdiitsme7-Sep-10 0:14 
GeneralVB 6 PinPopular
Lutosław28-Aug-10 1:22
Lutosław28-Aug-10 1:22 
GeneralRe: VB 6 Pin
Bigdeak29-Aug-10 23:44
Bigdeak29-Aug-10 23:44 
GeneralRe: VB 6 Pin
Chris Trelawny-Ross30-Aug-10 10:43
Chris Trelawny-Ross30-Aug-10 10:43 
GeneralRe: VB 6 PinPopular
PIEBALDconsult30-Aug-10 16:47
mvePIEBALDconsult30-Aug-10 16:47 
GeneralRe: VB 6 Pin
Lutosław30-Aug-10 23:03
Lutosław30-Aug-10 23:03 
GeneralRe: VB 6 Pin
Chris Trelawny-Ross31-Aug-10 4:05
Chris Trelawny-Ross31-Aug-10 4:05 
GeneralRe: VB 6 PinPopular
Richard A. Dalton31-Aug-10 0:15
Richard A. Dalton31-Aug-10 0:15 
Bigdeak wrote:
Yes, this confirms my oppinion. VB6 is the language with the most chaotic code i have ever seen. It's really a language for small short-life stuff.
For those who never where in that situation:
Imagine if you have a project with code like this in this language, but with 100000 source code lines...


VB6 isn't perfect, but it didn't come fitted with a gun that pops out of the screen that forces you to write crap code.

Today, the most chaotic code I see is in VB/ASP.Net apps. And most of it knocks anything I ever saw in VB6 out of the ballpark.

And yet with both VB6 and VB.Net you can write beautiful elegant code.

So, why is there so much crap code out there?

Well...you're right. It is VB's fault.

VB made it possible for non programmers to program. Which means it made it possible for bad programmers to program.

The fact is, you see so much bad code in VB and VB.Net precisely because they are both such incredibly well implemented development tools.

The language isn't the problem, it's the numpty between the keyboard and the chair (no offence to the OP).

You will always see the worst code in the development tools that most appeals to the masses.

And the same simple fact has always been true.
Good programmers write good code. Bad programmers write bad code.

Suggesting that the language has anything to do with it is like advising a Spanish poet to learn English because you can write better poems in English.
JokeRe: VB 6 Pin
Chris Meech31-Aug-10 8:37
Chris Meech31-Aug-10 8:37 
GeneralRe: VB 6 Pin
Rob Grainger31-Aug-10 22:37
Rob Grainger31-Aug-10 22:37 
GeneralRe: VB 6 Pin
jmoralesv1-Sep-10 17:14
professionaljmoralesv1-Sep-10 17:14 
GeneralRe: VB 6 Pin
Lutosław31-Aug-10 22:28
Lutosław31-Aug-10 22:28 
GeneralRe: VB 6 Pin
Rob Grainger31-Aug-10 22:59
Rob Grainger31-Aug-10 22:59 
GeneralRe: VB 6 Pin
sergiogarcianinja1-Sep-10 7:00
sergiogarcianinja1-Sep-10 7:00 
GeneralRe: VB 6 Pin
Rob Grainger1-Sep-10 22:11
Rob Grainger1-Sep-10 22:11 
GeneralRe: VB 6 Pin
edmurphy991-Sep-10 7:29
edmurphy991-Sep-10 7:29 
GeneralRe: VB 6 Pin
OriginalGriff1-Sep-10 8:13
mveOriginalGriff1-Sep-10 8:13 
RantRe: VB 6 Pin
Thomas Eyde4-Sep-10 10:38
Thomas Eyde4-Sep-10 10:38 
GeneralRe: VB 6 Pin
OriginalGriff4-Sep-10 10:43
mveOriginalGriff4-Sep-10 10:43 
GeneralRe: VB 6 Pin
Thomas Eyde4-Sep-10 13:49
Thomas Eyde4-Sep-10 13:49 
GeneralRe: VB 6 Pin
OriginalGriff4-Sep-10 21:25
mveOriginalGriff4-Sep-10 21:25 
GeneralRe: VB 6 Pin
Richard A. Dalton6-Sep-10 1:43
Richard A. Dalton6-Sep-10 1:43 
GeneralRe: VB 6 Pin
OriginalGriff6-Sep-10 1:58
mveOriginalGriff6-Sep-10 1:58 
GeneralRe: VB 6 Pin
Richard A. Dalton6-Sep-10 2:17
Richard A. Dalton6-Sep-10 2:17 
GeneralRe: VB 6 Pin
leonej_dt1-Sep-10 12:49
leonej_dt1-Sep-10 12:49 

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.