[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian coding style?

Previously Steve Lamb wrote:
>     This one kinda tweaks me.  Now, is that 40-50 functional lines (IE, not
> counting the braces) or total lines?

No, something else :). If I have a complex function that does it work
by sequentially doing a couple of things that take 20 lines each or some
of them are duplicated elsewhere, I'll seperate those sequential things
into their own functions. However occasionally I have functions that do
complex things you can't split (I have a function somewhere of about 150
lines that you really can't split).


This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wichert@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpyitImIFgKu.pgp
Description: PGP signature

Reply to: