Sujet : Re: Duplicate identifiers in a single namespace
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : sci.electronics.designDate : 16. Oct 2024, 12:00:48
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$37a9dde7$61356113@e5c57d590be73bf6>
References : 1
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vdbgch$1ob5k$1@dont-email.me>,
Don Y <
blockedofcourse@foo.invalid> wrote:
How does (e.g., Windows) tolerate/differentiate between
multiple *identical* identifiers in a given namespace/context?
>
And, what *value* to supporting this capability?
>
This is not a Windows question. It is a language question.
C
C is weird. Some identifiers can be declared multiply
as forward. You can have the same name sometimes for
things that are of different type. Not to speak of macro's
Pascal
If you declare multiple identifiers in the same namespace
you are hit on the head. You can have nested namespaces
and there is no conflict, the inner namespace counts.
Forth
You can use the same name for multiple objects.
The name last defined counts. You get at most a warning.
Groetjes Albert
-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.