CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jeremy D. Miller -- The Shade Tree Developer

Under the hood and working with .Net, TDD, Software Design, and Agile Stuff

The only thing I miss from VB6

There was some VB6 abuse from me & other commenters yesterday.  I gotta say that I do miss one thing (maybe two):

  1. Intellisense for enumerations was better in VB6 than VS & C#
  2. With/End With - sorta
I can't think of anything good to say about COM/COM+/DCOM.  They can stay dead to me. 


Comments

mgroves said:

Oh lord, the With blocks.  DO NOT WANT.

# March 27, 2007 12:40 PM

Console.Write(this.Opinion) said:

Não sou o único com saudades do With/End do Visual Basic, lembram dele? Ficava legível e mais rápido.

# March 27, 2007 1:15 PM

Chris Brandsma said:

Boy, I'm going to loose my coder status with this one...

I am also no lover of COM/ActiveX, but DANG there is a lot of software still out there using it.  And VB is still one of the fastest ways to slap together a quick and dirty DLL.  So I will admit to doing a few (little) integration pieces in VB6.  

Bonus: my manager was happy that we didn't have to muck with any of that .NET deployment mess.  (sorry, many/most machines still don't have .NET installed)

Only problem is that I needed a shower as soon as it was done.

# March 27, 2007 3:16 PM

Harris said:

Man, it's been so long since I've messed with VB6 I don't even remember what could be special about enumerations...

To me, the With block isn't anything spectacular and it seems almost like a code-smell...I mean, essentially it's method chaining, but without restricting you to methods since you can set property values.  So, if you wanted to do it in C#, you'd have to resort to Java-style coding for setting properties and then returning this every time.  Nevermind the fact that you are then communicating that the object is immutable (think NHibernate's Configuration object) when, if it were an entity, that's most-likely not the case.

I dunno.  Maybe that's making a mountain out of a mole-hill...

# March 29, 2007 8:19 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Jeremy D. Miller

Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy previously worked as a systems architect building mission critical supply chain software for a Fortune 100 company and learned agile development practices as a .Net consultant at ThoughtWorks, one of the pioneers of agile development. Jeremy is the author of the open source StructureMap (http://structuremap.sourceforge.net) tool for Dependency Injection with .Net and the forthcoming StoryTeller (http://storyteller.tigris.org) tool for supercharged FIT testing in .Net. Jeremy's thoughts on just about everything software related can be found on his weblog "The Shade Tree Developer" at http://codebetter.com/blogs/jeremy.miller, part of the popular CodeBetter site. Jeremy is a Microsoft MVP for C#. Check out Devlicio.us!

This Blog

Syndication

News

All opinions expressed here constitute my (Jeremy D. Miller's) personal opinion, and do not necessarily represent the opinion of any other organization or person, including (but not limited to) my fellow employees, my employer, its clients or their agents.

About Me

"Best Of" Compendium

StructureMap (Dependency Injection for .Net)

StoryTeller (Supercharged Fit)

Build your own Cab

TestDriven

MVP