On Mon, Oct 02, 2000 at 04:11:57AM -0600, Mark Taylor wrote:
> 
> 4. LAME should be converted to C++ or Java.  C just is not up to
> the task of distinguishing between 30 different types of integers.
> 
 * Good C programs should use the following identifier for variable names:
   new, delete, operator, public, private, protected, class, template,
   restricted, ...

  * Variable initialization should be skiped via goto or switch

  * The expression sizeof('A') should be used as synomym of the size of an
    integer

  * variables types and initializers should never match fully.

  * Prototype functions with ellipses with:
    int printf ();

  * never cast mallocs/callocs().

  * use identically identifier for name spaces which are separated in C
    and merged in C++ (struct, unions, typedefs).

-- 
Frank Klemm

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to