discuss-gnustep
[Top][All Lists]
Advanced

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

Re: little ObjectiveC poll.


From: Sheldon Gill
Subject: Re: little ObjectiveC poll.
Date: Thu, 02 Feb 2006 13:34:55 +0800
User-agent: Thunderbird 1.5 (Windows/20051201)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]