Click here to Skip to main content
15,890,282 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: More mining from our deep seam of WTF's Pin
Rob Grainger3-Jul-13 22:53
Rob Grainger3-Jul-13 22:53 
GeneralRe: More mining from our deep seam of WTF's Pin
vonb3-Jul-13 23:35
vonb3-Jul-13 23:35 
GeneralRe: More mining from our deep seam of WTF's Pin
Rob Grainger4-Jul-13 2:20
Rob Grainger4-Jul-13 2:20 
GeneralRe: More mining from our deep seam of WTF's Pin
vonb4-Jul-13 3:15
vonb4-Jul-13 3:15 
GeneralRe: More mining from our deep seam of WTF's Pin
Nicholas Marty4-Jul-13 3:38
professionalNicholas Marty4-Jul-13 3:38 
GeneralRe: More mining from our deep seam of WTF's Pin
vonb4-Jul-13 3:48
vonb4-Jul-13 3:48 
GeneralRe: More mining from our deep seam of WTF's Pin
Raybarg8-Jul-13 20:56
professionalRaybarg8-Jul-13 20:56 
GeneralRe: More mining from our deep seam of WTF's Pin
Rob Grainger9-Jul-13 0:00
Rob Grainger9-Jul-13 0:00 
It was fine for a product of its time, but is flawed compared to modern languages, for a whole variety of reasons.

Wikipedia (VB on Wiki[^] mentions some of its shortcomings, but actually its not as bad as its reputation - it largely suffered from being easy to hack in, so a lot of VB6 programs have appalling design and plenty of moments that make your jaw drop. It really is truly awful at string-handling though - appending to a string would generally reallocate the whole thing, copy, then append. I came a across apps that frequently added 10-20 characters to a 10MB string, which would grind to halt due to this.

It should absolutely not be used for any new projects, and existing code should be ported to alternatives now though - Microsoft dropped support a while ago, it will now only work (the IDE) on an XP machine (or VM), and there is no guarantee that the runtime will run on new versions of Windows.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.

GeneralRe: More mining from our deep seam of WTF's Pin
Raybarg9-Jul-13 19:14
professionalRaybarg9-Jul-13 19:14 
GeneralFirst time worked on Umbraco CMS Pin
crazie.coder30-Jun-13 19:40
professionalcrazie.coder30-Jun-13 19:40 
GeneralRe: First time worked on Umbraco CMS Pin
OriginalGriff30-Jun-13 20:35
mveOriginalGriff30-Jun-13 20:35 
GeneralRe: First time worked on Umbraco CMS Pin
AspDotNetDev1-Jul-13 5:02
protectorAspDotNetDev1-Jul-13 5:02 
RantAnd I will show you how deep the rabbit hole runs !!! PinPopular
virang_2126-Jun-13 14:40
virang_2126-Jun-13 14:40 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
_Damian S_26-Jun-13 15:01
professional_Damian S_26-Jun-13 15:01 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
Dennis E White26-Jun-13 15:25
professionalDennis E White26-Jun-13 15:25 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
Ron Beyer26-Jun-13 15:29
professionalRon Beyer26-Jun-13 15:29 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
Nagy Vilmos28-Jun-13 2:09
professionalNagy Vilmos28-Jun-13 2:09 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
Killzone DeathMan28-Jun-13 5:29
Killzone DeathMan28-Jun-13 5:29 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
vonb26-Jun-13 19:26
vonb26-Jun-13 19:26 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
hansoctantan28-Jun-13 0:02
professionalhansoctantan28-Jun-13 0:02 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
Killzone DeathMan28-Jun-13 5:27
Killzone DeathMan28-Jun-13 5:27 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
Lutosław28-Jun-13 13:50
Lutosław28-Jun-13 13:50 
GeneralRe: And I will show you how deep the rabbit hole runs !!! Pin
MarkTJohnson8-Jul-13 8:44
professionalMarkTJohnson8-Jul-13 8:44 
GeneralWhen Gobbledygook, Do Nada (Except Break the Build) Pin
AspDotNetDev26-Jun-13 12:11
protectorAspDotNetDev26-Jun-13 12:11 
GeneralRe: When Gobbledygook, Do Nada (Except Break the Build) Pin
lewax0026-Jun-13 13:39
lewax0026-Jun-13 13:39 

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.