No we should not support enum types derived from strings

guai guai at inbox.ru
Sat May 8 21:14:39 UTC 2021


On Saturday, 8 May 2021 at 20:19:51 UTC, Berni44 wrote:
> Oh, yes, you can! Think of an algorithm which is doing 
> cryptographic analysis and counting consecutive pairs of ascii 
> characters. For that it doesn't matter if there is RTL text cut 
> into pieces.

No cryptography is done on strings but instead on byte arrays. 
Why would you even want to use string here? Its methods won't be 
in any help.


More information about the Digitalmars-d mailing list