[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] naming conventions
From: |
Peter Lund |
Subject: |
Re: [Tinycc-devel] naming conventions |
Date: |
Sun, 09 Sep 2007 05:44:16 +0200 |
On Sat, 2007-09-08 at 19:01 -0500, Gregg Reynolds wrote:
> underscore to mean "I'm a special implementation thingee". A prefix
> like "tcc_" or "g_" (for global) or even "_ch" just says "I'm special
> and I'm global"; I don't see much need for more information in these
> then you can't use tok as a var name. The _t suffix is the most
> concise and expressive way I know of to do this, plus it's widely used
> and understood.
My votes go to g_ch, g_tok, and sometypedef_t.
I'm very much against _ch, _tok. That namespace isn't ours.
-Peter