Andrej Mitrovic:
> void main(string[] args)
> {
> args.popFront; // get rid of name
>
> foreach (arg; args)
> {
> }
> }
If I see code like that I probably rewrite it like this:
void main(in string[] args) {
foreach (arg; args[1..$]) {
}
}
;-)
Bye,
bearophile
