Dec 9 2006
Let’s face it. There’s a lot of Visual Basic .NET code out there. I haven’t programmed in Visual Basic since version 6 and I don’t want to take the time to learn VB .NET 2005. It’s not that it’s a bad language but I want to focus on C#.
The owner of a software company once told me that if you learn how to play many musical instruments, you will never master any one of them. If you focus on one musical instrument, you will master it and people will pay to hear you play it. Jack-of-all-trades, master of none. It pays enormously to be specialized.
Programming languages can be thought of in a similar way. If you learn many different languages, you will never master any one of them. If you focus on one language, you will not only master it but you will run circles around others using the same language. While knowing many different programming languages looks impressive on your resume, it doesn’t help you produce great code.
So my focus is on C# but I also use C++ since the two languages are so similar.
Which leads to the next problem. There is lots of Visual Basic code that I would like to use in my own applications, but I don’t want to have to learn VB in order to port them to C#. So what do you do?
Fortunately, there are many free VB to C# translators which can also translate the other way from C# to VB. Most of them do the bulk of the translation leaving only some tweaking to get the code right. This is great news for focused programmers!
Here are some resources for doing the translations.