cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido den Hollander <>
Subject Re: [DISCUSS] coding convention for method - and class length
Date Tue, 16 Jul 2013 09:30:16 GMT

On 07/16/2013 10:59 AM, Daan Hoogland wrote:
> LS,
> I am looking at a method 200 lines long. I've seen more of those.

Yes, that is pretty long.

> I would propose a maximum length of 80 lines per method and

There was a recent discussion about this, but I wasn't able to find it 
that quickly.

I'm against the 80 characters per line since we are no longer working on 
such small screens.

Something like ~120 would be fine imho.


> A maximum of 10 methods per class, not including getters and setters of course.
> I think this would help with the readability of the source base and thus the growth of
the community.
> Regards,
> Daan Hoogland

View raw message