Exploring Java and VB.Net Syntax, Part 1

The syntax of a programming language is a large part of how a programmer interacts with a language. Being somewhat of a programming language enthusiast, I’m always curious about how different programming languages stack up syntactically.

Today, I’m going to take a look at an variety of programming tasks and show how they are done in both Java and VB.NET (the .NET 1.1 version). Since both these languages have differing feature sets, I’ll try to only use features that both the languages have, in order to compare them fairly. I know this might misrepresent the complexity of the languages, and I’m cool with that. The purpose of this post is merely to explore and discuss the syntax of each language.

Read more »