Ranges suck!

bitwise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 15 18:01:34 UTC 2017

On Thursday, 14 September 2017 at 23:53:20 UTC, Your name wrote:
> [...]

I understand your frustration. The fact that "inout" is actually 
a keyword makes it hard not to think that some very strange 
fetishes were at play during the creation of this language.

As a whole though, the language is very usable, and has many 
great features not present in similar languages.

Just this morning, I was able to replace a fairly large and ugly 
pile of code with this:

import std.utf;
foreach(c; myString.byUTF!dchar) {
     // ...

More information about the Digitalmars-d-learn mailing list