Re: VB6 code analyze tool
From: Ralph (Ralph_at_discussions.microsoft.com)
Date: 02/17/05
- Next message: Brian: "Re: End VB program with Sub Main"
- Previous message: Bob O`Bob: "Re: End VB program with Sub Main"
- In reply to: Bob O`Bob: "Re: VB6 code analyze tool"
- Next in thread: Harry Strybos: "Re: VB6 code analyze tool"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Feb 2005 10:25:02 -0800
"Bob O`Bob" wrote:
> Ralph wrote:
>
> > Case-sensitivity came about because in the early days most languages were
> > all caps, yet variable names were only 'unique' to the first five characters
> > or so. (Not that long ago actually.) The ability to use lower case
> > characters double the availablity of names. Consider a real boon at the
> > time.
> > It also adds to readiblity since you can do things like this...
> > CClass cClass;
>
>
> ADDS to readability? _Adds_? Excuse me, but YMBOOY[F]M.
>
LOL!
Actually it does. With VB you always have to think up a slightly different
spelling. Often using some TCP (three/two character prefix).
Dim clsJunk || oJunk || JunkyClass As CJunk
Dim stJunk || junk_t || junkStuff As JUNK_T (a UDT)
And no one else uses the same.
[A classic example, of how easier it would be for me if everyone just did it
my way.]
But with case-sensitiivity there is no thinking involved. (a state I am most
comfortable with.)
CJunk cJunk
JUNK_T junk_t
However, as a sidenote on the subject of readibility, everything breaks down
with an 'interface'.
Dim ?Junk As IJunk
I have never come up with a decent tcp or any other immediate recognizable
naming convention for interfaces, that doesn't interfer with some other
convention or is too ugly...
iJunk ~ interger, number or what?
inJunk ~ parameter, integer or what?
interfaceJunk ~ too much typing
typJunk ~ only meaningful to a real geek
...
Any suggestions?
-ralph
- Next message: Brian: "Re: End VB program with Sub Main"
- Previous message: Bob O`Bob: "Re: End VB program with Sub Main"
- In reply to: Bob O`Bob: "Re: VB6 code analyze tool"
- Next in thread: Harry Strybos: "Re: VB6 code analyze tool"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|