H
Herfried K. Wagner [MVP]
Tom Leylan said:There is a problem with array support? So what solution would yield the
least resistance from VB developers, in other words what should MS do to
solve it?
Microsoft cannot solve it. They could have solved it when designing VB.NET
as a new programming language, but unfortunately they decided to make VB.NET
similar but different to VB6. By the way, it's no real "problem", it's just
a matter of preference. I'd like to be able to see a visual difference
between a function call and access to an array.
I've never used Exit Sub in my life but any time there are two identical
ways to do something I'm in favor of dropping one of them and Return is
the more common syntax so I'd retain that one. Frankly I don't see the
syntactic advantage to Sub at all, they can as easily be declared as
functions that return Nothing.
Well, I never liked the concept of "void functions". A "sub" simply does
not return anything, not even 'void' ;-).
I have an idea you will tell me why your changes make perfect sense and
mine are going too far.
Nope.