[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: little ObjectiveC poll.
From: |
Lloyd Dupont |
Subject: |
Re: little ObjectiveC poll. |
Date: |
Thu, 2 Feb 2006 15:56:12 +1000 |
Thanks again Sheldon!
Everything seems to confirm my assumptions!
Regards,
Lloyd Dupont
NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
----- Original Message -----
From: "Sheldon Gill" <sheldon@westnet.net.au>
To: "Lloyd Dupont" <lloyd@nova-mind.com>
Cc: "GNUstep Discussion" <discuss-gnustep@gnu.org>
Sent: Thursday, February 02, 2006 3:34 PM
Subject: Re: little ObjectiveC poll.
Lloyd Dupont wrote:
I haven't really programmed in ObjectiveC since a long time now.
But I have to work with my boss's source, developed on MacOSX all in
ObjectiveC.
Something puzzles me and I wonder if it's normal in "ObjectiveC" (or
C)..... (or if I'mjust unlucky ;-)
His files are very long (most of them over a few 10 of thousands lines)
and some methods are very long too (up to 1 to 2 or 3 thousands line. 1
thousands line is common, 3 is rare).
Now I wonder, is it "common practice" in ObjectiveC, or is it just my
boss?
I don't think its common practice in most programming languages.
One of the metrics used for program maintainability is length per
function. Higher length, less maintainable.
Take a look at the whole refactoring movement and most "good programming
practice" information out there. You'll see that shorter is generally
better and preferred.
Regards,
Sheldon