Article View: be.comp.programming
Article #3764Re: conventies naamgeving variabelen en functies
From: Kris De Decker http://www.jerboa...
Date: Thu, 06 Nov 2003 03:02
Date: Thu, 06 Nov 2003 03:02
64 lines
3722 bytes
3722 bytes
> Zijn er conventies wat betreft naamgeving variabelen en functies die voor > alle programmeertalen gelden ? Meeste naamgevingen zijn afhankelijk van: -programmeertaal -bedrijf -project -programmeur :) Een C programmeur zal een andere naamgeving hanteren dan een Delphi programmeur. Indien je tools gebruikt die geen 'autocomplete' ondersteunen kiest men voor korte maar minder omschrijvende namen. > Kwestie van consequent te zijn en niet opnieuw het warm water uit te vinden Er is dus geen universele 'conventie' maar je kan wel overnemen van bestaande naamgeving-procedures: http://delphi.about.com/library/bldnc.htm "Delphi Identifier Naming Conventions How to name all those variables and components you use in your daily Delphi programming. The Hungarian naming convention is quite useful � it's one technique among many that helps programmers produce better code faster. Since most of the API headers and documentation Microsoft has published over the last years have used Hungarian notation names for identifiers, many programmers have adopted one variation or another of this scheme for naming their identifiers. " http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnaraccgen/html/msdn_20naming.asp "To best share ideas and knowledge, the Access development community will benefit greatly if it adopts a common programming style so that we can benefit from each other's expertise with a minimum of translation overhead. Although Microsoft uses certain naming conventions in the Microsoft? Access documentation, to date they haven't published an official or comprehensive standard. Thus, we've formulated a set of naming conventions to better serve Access users and developers." Leuk om te weten >> Charles Simonyi een vroegere Chief Architect van Microsoft spendeerde veel tijd om de Microsoft programmeurs te overtuigen om een universele conventie te gebruiken. Zijn origineel artikel vindt je hier >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsgen/html/HungaNotat.asp "A note from Dr. GUI: Long, long ago in the early days of DOS, Microsoft's Chief Architect Dr. Charles Simonyi introduced an identifier naming convention that adds a prefix to the identifier name to indicate the functional type of the identifier." "In closing, it is evident that the conventions participated in making the code more correct, easier to write, and easier to read. Naming conventions cannot guarantee good code, however; only the skill of the programmer can. " mvg, Kris De Decker ps: Realtime bedrijfsinformatie op je PDA >> http://www.jerboa.be/blog/Articles/Nytro/PDA.html ____________________ [Projectbeheer] = Projecta [HACCP] = HaccPack [Productiebeheer] = Insight [Vastgoedbeheer] = FullFill [Onderhoud] = Softmaint [Documentbeheer] = DocShare
Technical Details
Message-ID:
<57388f65.0311051902.2d8a8f94@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<bne7uo$gre$1@reader10.wxs.nl>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII X-Google-Thread: fcea4,5608804c8e58b5c6 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-11-05 19:02:43 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: kris@jerboa.be (Kris De Decker http://www.jerboa.be) Newsgroups: be.comp.programming Subject: Re: conventies naamgeving variabelen en functies Date: 5 Nov 2003 19:02:43 -0800 Organization: http://groups.google.com Lines: 64 Message-ID: <57388f65.0311051902.2d8a8f94@posting.google.com> References: <bne7uo$gre$1@reader10.wxs.nl> NNTP-Posting-Host: 203.131.170.105 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1068087763 4780 127.0.0.1 (6 Nov 2003 03:02:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 6 Nov 2003 03:02:43 +0000 (UTC)