No we should not support enum types derived from strings

Q. Schroll qs.il.paperinik at gmail.com
Sat May 8 00:06:16 UTC 2021


On Friday, 7 May 2021 at 15:24:42 UTC, Andrei Alexandrescu wrote:
> Compare all that with:
>
> We put a String type in the standard library. It uses UTF8 
> inside and supports iteration by either bytes, UTF8, UTF16, or 
> UTF32. It manages its own memory so no need for the GC. It 
> disallows remote coupling across callers/callees. Case closed.

True. But why have it easy when you can have it complicated?


More information about the Digitalmars-d mailing list