Link Details

Link 102408 thumbnail
User 225256 avatar

By mswatcher
via codebetter.com
Published: Aug 12 2008 / 11:14

I've spent a great deal of time in the last week reverse engineering legacy VB6 code, and I'd like to rant a little bit. What's making my life harder is how large and complex the methods are in each class module. The code is very procedural, with little usage of subroutines. The VB functions are several pages long, if/then nesting goes 6 or 7 deep, and case statements span hundreds of lines. Unsurprisingly
  • 11
  • 1
  • 921
  • 239

Comments

Add your comment
User 218789 avatar

eelmore replied ago:

0 votes Vote down Vote up Reply

I'm not condoning unnecessarily long segments of code, but I'm never surprised by the apparent low level of skill or experience displayed by any piece of VB6 code. If it was written in VB6, either the developer was limited against his will and forced to work in a language unfamiliar to him, or he just didn't know any better.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (11)



Voters Against This Link (1)