Taryn East wrote:

What FOSS projects (or parts therof) do you know that have really great
code in them? The kind of excellent code that a person with reasonable
but not brilliant skills could read/study and learn nifty things from?

Samba.

It's in C, it solves a non-trivial problem in such a
way that it reveals that the real problem is actually
something deeper.

It's perhaps not the best code to study since SMB is
such an awful protocol, and a lot of the code is dealing
with that awfulness. But even that is imformative, such
as the SMB protocol compiler, which exists because the
SMB protocol format is complexity built upon stupidity.

Samba is also good because it leverages a lot of the
programming support tools (Doxygen, Subversion, etc).

Worst code of all time would be IRRToolSet, partly because
it was written in C++ many years ago, and C++ has been a
moving target of a language.


Apache.

Simple problem, simple code.  Nice mainline.  Some
ugly modules though.


ISC DHCP.

Not so much because of the code but because it highlights
the real-world issues that even simple network servers
need to handle.


Cheers,
Glen
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to