Even though it is used for many programs, VB.NET is mostly ignored even by its creators. Other languages like C# get much more attention; new features are often exclusive to C# in .NET updates.
But VB.NET persists, and I have found it has some good points—even features that C# does not have. One thing it does, for example is support case-insensitive syntax. So we can use sub
in place of Sub
for a subroutine.
This is helpful for VB.NET for these reasons:
ByRef
and ByVal
can be difficult to remember how to capitalize.Dim
and As
are short and may be left lowercase for readability.It is a good compromise to just leave the syntax case-insensitive. This can also speed up development if you have a capitalization inconsistency but the program still compiles correctly. Case-insensitive syntax is a useful feature for VB.NET.