Enum literals, good? bad? what do you think?
rikki cattermole
rikki at cattermole.co.nz
Thu Jul 22 06:28:56 UTC 2021
On 22/07/2021 4:37 PM, Walter Bright wrote:
> One thing I've learned with D is that programmers often have mental
> models of how symbol lookup is done that diverge substantially from how
> it actually works, and I've never been able to communicate how things
> actually work to them.
If you can't describe it using words, use code instead.
That logic in the compiler could be a great example of your desire to
distill it down. If the logic and data is encapsulated well, it could
look very pseudo-code-ish!
More information about the Digitalmars-d
mailing list