Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-07-24 21:18:12


Beman Dawes wrote:
> "Jeff Garland" <jeff_at_[hidden]> wrote in message
> news:44C3FB5B.8010604_at_crystalclearsoftware.com...
>> Gennaro Prota wrote:
>
>>> About the name, isn't "identifier" meant as "something which gives an
>>> identity" rather than as "C++ grammar identifier"?
>> I guess my issue is that identifier normally means the name of a type
>> instance....so that's a point of confusion for me at least.
>
> I think of identifier mostly in database terms. For example, in the
> geographic applications I do, there are types CountryId, PostalCodeId,
> StateId, CountyId, LocalityId, NeighborhoodId, StreetId, StreetNameId, etc,
> etc. It is very easy to mix them up, so having separate types lets the
> compiler detect these mixups.
>
> That isn't to say a better name can't be found. I just haven't heard one yet
> that I like better.

In the database domain I tend to use "key" mostly because of the loaded,
and equivalent, meaning it has in the relation (SQL) realm.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk