On Fri, 2 Jun 2006 22:16:51 +0200
Burkhard Carstens <[EMAIL PROTECTED]> wrote:

> [..]
> > >
> > > CORRECT
> > >   FMyString: string;
> > >
> > > INCORRECT
> > >   lpstrMyString: string;
> > >
> > > The exception to the Hungarian notation rule is in enumerated
> > > types.
> >
> > If other developers agree, we should add this to the wiki page. If
> > not, then deviation from this standard should be mentioned.
> 
> For variables this is ok, but for components, I also use the 
> "btnWhatever" notation. Especially on bigger projects, this helps a 
> lot.
> 
> Just my 2 cent ..

Both have their pros.

Using names like btnOk helps searching if you know it is a button, but not
its name.
Using names like DependMinVersionLabel helps sorting them logically, because
the IDE sorts alphabetically at various places.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to