Article View: be.comp.programming
Article #3803conventies naamgeving variabelen en functies
From: EM
Date: Sat, 25 Oct 2003 16:15
Date: Sat, 25 Oct 2003 16:15
20 lines
1766 bytes
1766 bytes
Zijn er conventies wat betreft naamgeving variabelen en functies die voor alle programmeertalen gelden ? Of zijn die taalafhankelijk. Ken er zo welk enkel : substantieven voor variabelen en werkwoorden gebruiken in functies en procs : GeboorteDatum, HuwelijksDatum, ToonLijst(), BerekenLeeftijd(), ... In variabele meegeven om welk type het gaat : iGetal of intGetal, fGetal of fltGetal, strNaam, conPi, arrLedenLijst, maar doe je dit ook voor proc en functies ? funBerekenGemiddelde(), procToonLijst(), ...? En wat met zelfgemaakte objecten ? Persoon of objPersoon en is het dan Persoon.naam of objPersoon.strvoornaam Persoon.leeftijd() of objPersoon.funLeeftijd() (te berekenen uit geboortedatum) ? Kwestie van consequent te zijn en niet opnieuw het warm water uit te vinden ! Pugi!
Technical Details
Message-ID:
<bne7uo$gre$1@reader10.wxs.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!transit.news.xs4all.nl!newsfeed.wxs.nl!textnews.wxs.nl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,5608804c8e58b5c6,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-10-25 09:19:49 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!transit.news.xs4all.nl!newsfeed.wxs.nl!textnews.wxs.nl!not-for-mail From: "EM" <geralboot@yahoo.co.uk> Newsgroups: be.comp.programming Subject: conventies naamgeving variabelen en functies Date: Sat, 25 Oct 2003 18:15:23 +0200 Organization: Planet Internet Lines: 22 Message-ID: <bne7uo$gre$1@reader10.wxs.nl> NNTP-Posting-Host: u212-239-150-190.dialup.planetinternet.be X-Trace: reader10.wxs.nl 1067098904 17262 212.239.150.190 (25 Oct 2003 16:21:44 GMT) X-Complaints-To: abuse@planet.nl NNTP-Posting-Date: 25 Oct 2003 16:21:44 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400