> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Gerard van Enk
> 
> Just curious....in what way are the codings standards of 
> other projects 
> different than mmbase's coding standards?

In particular: 
- the number of spaces per indent (2/3/4)
- different ways to split statements in lines, e.g.:
        if (a > b)
        {
                max = a;
        }
        else
        {
                max = b
        }
(used to be popular among C/C++ programmers)

or even:
        if (a > b) {
                max = a;
        }
        else {
                max = b
        }
(makes it easier to comment out the else-clause)

Personally, I don't approve of either.

Rob van Maris
Technical Consultant

Quantiq
xmedia & communication solutions

Koninginneweg 11-13
1217 KP Hilversum
 
T    +31 (0)356257211
M    +31 (0)651444006
E    [EMAIL PROTECTED]


Reply via email to