On Thursday, March 03, 2016 12:03:46 PM Lee Howard wrote:
>
> Well, you've now qualified your earlier statements by adding the "large"
> requirement.
>
> I'm the author of iaxmodem. It's monolithic. iaxmodem.c is 1800 lines
> long. Granted, that's smaller than 8000. I'm not sure if that meets
> your requirement.
I am not saying a single program doing one thing cannot be in a single file,
though usually
little harm in making multiple. ASSP has many more features compared to say
iaxmodem,
web interface, etc. Even the man page for iaxmodem is tiny in comparison. If
its features
grew to be extensive likely would be in multiple files.
> I also develop HylaFAX+. It's not monolithic, but one of the individual
> code files (faxQueueApp.c++) is more than 4000 lines long. Others are
> over 1000.
I am not saying there is any line limit to code in a single file. But clearly
hylafax is broken up
for a reason, as others.
Looking around, while most code in the Linux kernel is say < 1k, there is allot
over with the
largest seeming to be.
28721
/usr/src/linux-4.4.1-gentoo/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c
Though of some 22239 C files in Linux sources, like 1025 are > 2433. Arbitrary
starting point,
terminal buffer limit. But only 210 are > 5k, and 27 over 10k. Thus the vast
majority is less
lines, more files.
If your project already has multiple files, its feasible for some to grow
rather lengthy. But
its rare to see things that are lengthy for multiple functions in a single
file. Not saying it
does not occur. Just not to common.
In the Java world these days, many projects themselves are splitting up their
sources into
smaller modules. Makes it much easier to package, maintain, etc. Not all pieces
need to be
updated and released when changes are made in other areas.
Anyway I am not pushing for assp code to be split up. That was just sentiment I
got from
perl developers I was trying to get to participate in ASSP development.
Why not ask the perl programmers? Ask in a perl IRC channel or mailing list and
see what
they say.... Just show them assp.pl, and say what do you think....
--
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user