On 01/23/2011 06:28 AM, Jonathan M Davis wrote:
The problem is that constants are used all over the place in D - far more than
you'd use in most other languages (primarily because of CTFE, I belive). If you
use all-caps for stuff like enums, then you're constantly using variables which
are all in caps. It would get really annoying. In particular, Andrei doesn't
like that, so he wants constants - which would include all enums - to have the
same naming convention as the other variables.
                                      ---------

Don't you find this strange: I guess most people agree that enums define (a form of) constants --as shown by words used is this thread. Right? Then, we have constant variables! ???

Denis
--
_________________
vita es estrany
spir.wikidot.com

Reply via email to