Re: VB6 code analyze tool

From: Ralph (Ralph_at_discussions.microsoft.com)
Date: 02/17/05


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

     

    



Relevant Pages

  • Re: How to see replies here?
    ... interface, like Microsoft's CDO interface, well, they deserve what they ... where non-alphabetic characters might get misunderstood to be wildcard ... So I searched Google Groups on "Vanguardx" ... I figure Vanguardx is close enough to Vanguard so as ...
    (microsoft.public.internet.mail)
  • Re: Does anyone have experience interfacing a LCD display module to a cFP unit?
    ... I'm assuming if its 8-bit parallel it is probably an HD44780 interface. ... Those are quite common for small character-based LCD screens. ... There are plenty of so-called "backpack" ... see them on-screen (along with special characters to do certain actions). ...
    (comp.lang.labview)
  • Re: Fallout 3: Now Im looking forward to it.
    ... the party-based dynamics we had in FO and FO2, ... members sometimes required stealing because of interface issues. ... characters couldn't be directly controlled and in addition their ...
    (comp.sys.ibm.pc.games.rpg)
  • Re: Question about active directory group names
    ... > Anne Onimos ... the max. characters is 64 ... Posted using the http://www.windowsforumz.com interface, at author's request ...
    (microsoft.public.win2000.active_directory)