Re: Another newbie question

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Robert Morley" <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:u04LVQjpIHA.4620@xxxxxxxxxxxxxxxxxxxxxxx
Is there a common/standard naming convention for variables in Delphi? I'm noticing that Hungarian (or any variation of it) doesn't seem to be common in most of the examples I've seen, although most of them are sort of along the same lines. Can someone perhaps provide a link to common variable naming methods in Delphi?


I think you'll find in many strongly typed languages the use of hungarian has been deprecated for some time now, be that Delphi or VB.NET, etc, etc. Typically the Casing rules are similar, but you're probably better asking those kind of questions in a Delphi group as this group is for VB6 and lesser; which I thought you were in fact well aware of. I can understand ..net newbies stumbling onto the wrong group, but you seem to be trying to set a precedent that any language is okay in here. Strange.


.



Relevant Pages

  • Re: Another newbie question
    ... > I think that is more properly phrased "the use of hungarian has always ... context) only deals with "Types" is a common error among the inexperienced ... Most people in strongly typed languages understand that the compiler is the correct tool for type checking. ... As you deal with more modern programming techniques such as extreme programming, and concepts such as refactoring, you'll probably find that it's the meaning that is important, not the type. ...
    (microsoft.public.vb.general.discussion)
  • Re: Another newbie question
    ... I think you'll find in many strongly typed languages the use of hungarian ... has been deprecated for some time now, be that Delphi or VB.NET, etc, etc. ... I think that is more properly phrased "the use of hungarian has always been ... In fact, adding it, just adds a place for human error. ...
    (microsoft.public.vb.general.discussion)
  • Re: Another newbie question
    ... I think you'll find in many strongly typed languages the use of hungarian ... has been deprecated for some time now, be that Delphi or VB.NET, etc, etc. ... I think that is more properly phrased "the use of hungarian has always been ... language doesn't need it is their common justification for their opinion". ...
    (microsoft.public.vb.general.discussion)
  • Re: Correct file naming
    ... I have a lot of common code shared by multiple projects. ... fbSearchForm ... Again, in sorted lists of filenames, this helps separate the project code ... helps me pick out my units from the Delphi units and, more to the point, the ...
    (borland.public.delphi.non-technical)
  • Re: The Value of Delphi Training
    ... > technology to not have any experience or certification in the subject. ... Those of you who have taught classes in Delphi, how common is it ... > you are teaching a course in D8, for example, how common is it for you to not ...
    (borland.public.delphi.non-technical)