PhobosWatch: manifest => enum
"Jérôme M. Berger"
jeberger at free.fr
Sat Dec 29 07:02:06 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Walter Bright wrote:
> BLS wrote:
>> Why not keeping enum as it was and use manfifest as enhanced enum ?
>> Seems to be a clean solution.
>
> Because, then there's a fourth way to declare constants. 3 seems to be
> enough.
You are already adding a fourth way to declare constants. In fact,
I believe the "enum hack" way of declaring constants should be
deprecated and only kept around for backward compatibility and new
code should use "manifest" (or whatever new keyword).
Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
| mailto:jeberger at free.fr | ICQ: 238062172 |
| http://jeberger.free.fr/ | Jabber: jeberger at jabber.fr |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHdmFud0kWM4JG3k8RAihuAKCwAbFRPUSDCEOdi9r+GoO0BtESZQCgjH3B
sfSgIzCAQEYCQvCfkw5tzG4=
=4XdK
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list