12/30/2012

Classic VB vs .net

Back when I programmed in classic Visual Basic I thought it was the greatest language ever.

Because you could program at any level.

From entry level business user writing code to advanced level programmers using classes, DLLs and COM+.

Downside was not object oriented, no built in error handling and code could become spaghetti really fast.

And then we were asked to migrate to .net.

When I say asked, we were basically forced.

As in no more support for VB6.

And programmers needed to learn object oriented coding really fast.

Although it's still possible to code in VB.net not using Object Oriented methodology.

Due to lazy programming styles.

However, the improvements between classic VB and let's say the 4.0 .net framework are completely different.

The only similarity between the two would be the name: Visual Basic.

We now have object oriented code, built in error handling via the garbage collector, the IDE environment is much cleaner, you can combined languages easily, the coding style is easier and way more powerful.

The downside is having to learn the new library's.

Now for me, I veered direction in 2006 and learned Java.

That was actually a good decision because c# is basically a rip off of the Java language.

So it looks like we can have our cake and eat it too.

.net is an incredible programming ecosystem.

Downside, it runs on Microsoft Windows only and IIS.

That's the price for using .net.

So if you ask me today am I disappointed the classic VB went away, well, the improvements outweigh the downsides.

And guess what, there are still company's that have VB6 in production today as well as ASP classic.

And that's a fact!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.