[ale] [OT]: Programming Best Practices

Danny Cox danscox at mindspring.com
Tue Sep 17 14:35:30 EDT 2002


Mike,

On Tue, 2002-09-17 at 14:26, Mike Lockhart wrote:
> Does anyone know of any good sites or books that outline best practices
> for programming?  I've been getting into C a lot lately, and I'm having
> a hard time finding documentation about good memory management, using
> #define's, etc...
> 
> It'd also be nice to find a book/site that I could apply to all types of
> code (C, C++, PHP, Perl, TclTk, Ruby, to name a few) as far as
> documenting functions, file separation, and so on.  I'm not looking for
> a style guide, I firmly believe that as long as your function prototypes
> meet the guidelines set by your company, how you style your code is
> entirely up to you. 

	Let the opinions fly!  I'll start with my own.  It's an oldie but a
goodie:

	"The Element of Programming Style", Kernighan & Plauger, ISBN
0-07-034207-5.

	Copyrighted in 1978, it is *still* one of the best books, in my
opinion.  It uses FORTRAN and PL/I in it's examples, but is applicable
to all languages.  I still look for it in Borders, and find it in stock
there.

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list