Sujet : Re: THROW codes and ambiguous conditions
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 02. Jun 2025, 11:44:03
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$110fb7e8$4dcc4e5b@7bbd872876625f12>
References : 1 2
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
nnd$5d07338c$61b87fbd@d4d89ef8da41e19e>,
Hans Bezemer <
the.beez.speaks@gmail.com> wrote:
On 31-05-2025 03:10, dxf wrote:
<SNIP>
not a "hard" code. I mean, even in their freshman years CS students are
taught to use enums and constants instead of literals.
That is constants that are used more than once with the same meaning.
It is a deadly sin to use throw codes more than once, so this doesn't
apply.
>
Hans Bezemer
-- 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.