cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: [DISCUSS] coding convention for method - and class length
Date Thu, 18 Jul 2013 20:34:36 GMT
I'm not sure how I feel about an arbitrary number of lines per method
(although 200 is obviously quite high and I would recommend modularizing
such a method), but I'm not in favor of limiting the number of methods per
class (especially not to just 10). Some types of objects simply need many
discrete operations and 10 is too limiting.


On Tue, Jul 16, 2013 at 6:14 AM, Daan Hoogland <daan.hoogland@gmail.com>wrote:

> I am all for re-oping discussions on the ten commandments, but let's stick
> to method and class level for now.
>
>
>
>
> On Tue, Jul 16, 2013 at 12:19 PM, Donal Lafferty
> <donal.lafferty@citrix.com>wrote:
>
> > Hmm.  The original comment was "maximum length of 80 lines per method".
> >
> > Did you want to start a new thread covering max characters per line?
> >
> > > -----Original Message-----
> > > From: Isaac Chiang [mailto:isaacchiang@gmail.com]
> > > Sent: 16 July 2013 11:12 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: [DISCUSS] coding convention for method - and class length
> > >
> > > +1 for the maximum length per line
> > >
> > > I also agree with Wido that around 120 characters will be more fit
> > current
> > > needs.
> > >
> > >
> > > Regards
> > >
> > > Isaac
> >
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message