Enum literals, good? bad? what do you think?
Walter Bright
newshound2 at digitalmars.com
Thu Jul 22 17:28:02 UTC 2021
On 7/22/2021 3:03 AM, rikki cattermole wrote:
>
> On 22/07/2021 8:37 PM, Walter Bright wrote:
>> On 7/21/2021 11:28 PM, rikki cattermole wrote:
>>> If you can't describe it using words, use code instead.
>>
>> I tried everything, including that. I really cannot explain it. It was a very
>> frustrating experience.
>
> Oh hmm. I just went looking for it, the only files regarding semantic analysis I
> thought it could be in yup... 700 LOC method. Found that rather quickly.
>
> That really isn't a good sign I must admit!
The symbol lookup used to be very simple and completely consistent in D. It got
a *lot* more complicated as a result of my inability to explain how it worked.
It does two passes now, and is very inconsistent.
More information about the Digitalmars-d
mailing list