How my little brother try D
Lass Safin via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 2 15:54:09 PDT 2016
On Saturday, 2 April 2016 at 21:29:27 UTC, Daniel Kozak wrote:
> Few days ago, my little brother (13 years old) ask me about
> writing some small utility. He needed find all files with
> selected extensions and move them to some another location. He
> asked me about using D or C# for it. My answer was: try both
> and you will see which one suited you better.
> [...]
> Maybe it would be nice to have alias for rename method or have
> better doc for rename. And probably we should fixed copy method
> to not remove files with same src and dst path :)
You're right in how it isn't obvious for non-techy people. I do
suppose it would be doable without breaking any old code (unless
for some arcane reason the code depends on static
assert(!__traits(allMember, std.file).canFind("move"))...), so
why not create a PR with "alias move = rename" inside?
More information about the Digitalmars-d
mailing list