Re: Totally useless question
From: YYZ (notapplicable)
Date: 10/04/04
- Next message: Hansin Chavoush: "Opening a file using Word, Visio, Adobe etc"
- Previous message: Atreju: "Populate a textbox from file at compile-time?"
- In reply to: Ken Halter: "Re: Totally useless question"
- Next in thread: Bob Butler: "Re: Totally useless question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 4 Oct 2004 17:16:39 -0500
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:#gXHAYlqEHA.536@TK2MSFTNGP09.phx.gbl...
> YYZ wrote:
>
> > <g> I just started using m_ on all my module level variables on this
project.
> > I HATE underscores, but I have to say it's very nice to be able to type m_
> > <control>-Space and see all my module variables in one group. The other
> > programmers here are groaning about having to switch to this style
eventually (I
> > just got a promotion and I'm setting standards these days <BSEG>). I'm not
100%
> > sure if we'll move to this style, but the discussion could be quite lively.
>
> fwiw, no variables here have an underscore. Our constants do because
> they're all upper case but the variables don't (because they're "camel
> hump")
>
> Sample:
> Private msTest As String 'hit ms + ctrl space to see all module level
> strings. or just m + ctrl space to see all module level vars.
Not bad. Seems that for ms... you only have to contend with 7 or so (in my
project) other options popping up when typing ms<control-space> - none with mb,
ml, or md (mdiChild, actually). That takes care of the most often used ones.
> Private Const THIS_VALUE = 1 'underscore to separate the words in constants.
We do, too. That's the one place where _ is ok with me.
Thanks for the advice. I may give that a try. Underscores can slow me down.
Interesting because I used to be a whiz at typing them thanks to PowerBuilder 5.
Ever single window HAD to begin with w_. Ya get pretty good at them after a
while.
Matt
- Next message: Hansin Chavoush: "Opening a file using Word, Visio, Adobe etc"
- Previous message: Atreju: "Populate a textbox from file at compile-time?"
- In reply to: Ken Halter: "Re: Totally useless question"
- Next in thread: Bob Butler: "Re: Totally useless question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|