type declaration characters

I

integreat

Visual basic still supports them such as

variableName!
variableName#

and so on

so why are they not popular?. For instance I detest the custom namin
conventions for variables like this:

Dim strMyString as string
strMyString = "hello world"

why not just do this

myString$ = "hello world"

basically visual basic has allowed weak programming to creep into th
language!

Further Quick basic supports this

myString$ = space$(1000) (could be a little out in that syntax)

I don't know if vbasic supports the "space$" keyword
the above code gives the string a definite size. It is not a dynami
string. I hate dynamic strings. GWbasic had dynamic strings and the
stunk.

Now the basic argument is that vbasic ran out of type declaratio
characters as there were more variable types. I don't buy that though
All vbasic had to do was make some extra custom type declaration char
and the problem would have been solved. The code would look alot nice
and neater and the DIM statement would not have to be used to declar
variables at all!!!!

This might agravate some Microsoft employees who like to brag on ho
many pages of code they did in one day. With this new idea al
unecessary code could be eliminated . It would reduce the code by abou
20 percent
 
D

Dave Peterson

My personal opinion is that I find the long method much more easy to read and
understand. And I find that the longer versions save my time--and I don't care
if the code is has more characters.

Your mileage may vary.
 
Top