July 20, 2014 Learning to use ranges instead of arrays | ||||
|---|---|---|---|---|
| ||||
I find myself writing this code too much and i'm curious what D idiom I am missing.
given a list of files (or any string) and then maybe I want to sort them and maybe I don't.
string [] fileList;
... fill list
if (sort) {
| ||||
July 20, 2014 Re: Learning to use ranges instead of arrays | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Bob Tolbert | Sorry, somehow this submitted in the middle, even without the captcha. Please see the later version. | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply