portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santiago Gala <sg...@hisitech.com>
Subject Re: Opensource Development - Coding guidelines
Date Mon, 15 Oct 2001 17:59:09 GMT
ICM S CP guest 5 wrote:

>hungarian notation for variables and parameters - right
>for me it's quite useful
>
>
>-----Original Message-----
>From: David Sean Taylor [mailto:david@bluesunrise.com]
>Sent: Montag, 15. Oktober 2001 17:08
>To: jetspeed-dev@jakarta.apache.org
>Subject: RE: Opensource Development - Coding guidelines
>
>
>>e.g. every Integer variable starts with an i:  int iValue;
>>
This reminds me the good ol' FORTRAN V days: if a variable starts with 
I-N (only uppercase permitted for FORTRAN PROGRAMS) then it is integer, 
else REAL unless you did some tweak to force them DOUBLE. No strings, no 
character no structs or aggregated types...

;)

>>
>>or Parameters using an p like: function callMe (int piAge, 
>>String pstName) 
>>and so on...
>>
>
>hungarian notation in java?
>-1
>
>http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
>http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html
>
>http://jakarta.apache.org/turbine/common/code-standards.html
>
>>Some advantages:
>>- Code is better readable
>>- Faster identification of a variable/object/parameter
>>- Code is upgradeable
>>- Faster programming - it's easier to find names because the 
>>names are more specific (iAge, stAge, ...)
>>
>>
>>Andreas
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message