Index:
[thread]
[date]
[subject]
[author]
From: Thomas Tanner <tanner@gmx.de>
To : ggi-develop@eskimo.com
Date: Wed, 16 Sep 1998 15:00:15 +0200
Re: Some coding tips...
becka@rz.uni-duesseldorf.de wrote:
>
> > STOP BLINDLY COPYING CODE AROUND IF YOU DON'T HAVE A CLUE ABOUT
> > WHAT IT DOES! In the best case it will just be some useless bloat
> > dragged around, but in the worst case it's a real PITA to fix it.
> Uh - what causes your anger ?
He probably looked through the libggi sources.
These "tips" are similar to what I've said after my
"libggi horror trip" a few months ago :->
Quick Hacks(tm) unite! :)
> > Always free memory you allocated.
> > If you don't know how to use a system call, please use the manpage.
> > Include all the required headers, but not any other weird headers.
> And:
> - Look to the left and right before crossing the street
> - Never puke against the wind
> - Never play with a burning dog
- don't use Obfuscator to beautify your code
--
Thomas Tanner -----------------------------
email: tanner@gmx.de tanner@ggi-project.org
web: http://home.pages.de/~tanner
cool: www.ggi-project.org www.gnustep.org
Index:
[thread]
[date]
[subject]
[author]