.NET Provides Choices, Options

The difference between VB.NET and C# boils down to whether you like semi-colons. .NET promises an opportunity to choose the best language for a given task without sacrificing power.

Letters to Visual Studio Magazine are welcome. Letters must include your name, address, and daytime phone number to be considered for publication. Letters might be edited for form, fit, and style. Please send them to Letters to the Editor, c/o Visual Studio Magazine, 2600 El Camino Real, Suite 300, San Mateo, CA 94403; fax them to 650-570-6307; or e-mail them to [email protected].

.NET Provides Choice, Options
Being certified in both VB.NET and C#, I don't understand this ongoing debate [Editor's Note, "Is C# the Only Language That Matters?" by Patrick Meader, August 2005]. If one knows the .NET base class library, the actual difference in languages boils down to whether or not you like semicolons.

Coming from a background in Web development, learning VB.NET was easy because of prior VBScript knowledge, and transferring that knowledge to C# was easy due to a background in Java and JavaScript.

Any serious developer in the .NET platform should be bilingual. It requires little extra effort and pays off over the long haul by enabling work for either type of shop. It also relieves the constant stress put upon us by the VB vs. C# debates.

Bill Sarris, Pebble Beach, Calif.

I have watched the language debate since before VB was a twinkle in anyone's eye. Being fluent in a broad range of languages from C++ down to JavaScript, and having used them all commercially at one time or another, I found the major shift with .NET was not that it made languages equal, but that it provided options. Any coder who knows multiple languages knows that sometimes, maybe even just because it feels right, certain languages seem right for certain tasks. With .NET, we have been offered a way to engage in multilinguistic coding without sacrificing interoperability. In my case, lately, most of my library functions end up coded in C#, while many of the user interfaces and connective code is in VB.NET.

I think where we are going wrong is in making this a debate at all, because it has religious overtones that have no benefit to our industry. The right choice is the right choice because it gets the job done, and because in doing so we drive better business opportunities. But by continuing to declare any language superior, we provide excuses for business managers who do not necessarily know anything about coding. We need to quit distracting them and ourselves and accept that there is no perfect language for every task, and no perfect reason for any language choice.

.NET promises us an opportunity to choose the best language for a given task without sacrificing the underlying power of the framework. Let's embrace that and sell that idea to the industry as a whole.

Frank Buchan

This debate is a pity. We need more languages, not less. The CLR has moved a little, but there's a lot it could do to escape the limitations of the current object-oriented paradigm.

I'd love to see the possibility of writing an assembly where one method is C#, the next VB.NET, and the next APL.NET (or some such).

In the longer term, the future of the .NET system depends, I hope, on getting a wider range of high-quality language implementations—not a narrower range for narrower minds.

Mike Gale, Auckland, New Zealand

About the Author

David Mack is a technical lead and consultant for the National Intelligence Division at Titan Systems. He has more than 10 years of experience in management and software engineering. Reach him at [email protected].

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube