March 11, 2014 Hot Topics: RSS RSS feed Download our iPhone app
Programming with the My Feature    • November 21, 2005   • By
Paul Kimmel   • Send Email »   • More Articles »  The keyword My
is what is often referred to as syntactic sugar. My and keywords
like it exist to make things a little easier for programmers. In
particular, My makes VB.NET a little simpler to use, which
conceptually falls in line what VB is all about. First, VB made
rapid application development a reality. Next, VB helped kill
IDL (Interface Definition Language) and made COM easier to use,
and now with My, VB is making the .NET Framework easier to use.
The .NET Framework is a large, powerful framework, and making it
easier to use is an important contribution to programming.
After some debate as to what My was exactly, Microsoft seems to
have settled on calling it a feature. My acts as a cue for the
VB compiler to substitute it with more verbose code that creates
an object and then invokes a method on that object. But, that
doesn't re