On Fri, May 11, 2012 at 8:38 AM, Mark Harrah <
dmha...@gmail.com> wrote:
> That was not the intention. When you say a way of doing something is incredibly dangerous and I look at your code to see how you have done it and it does the same thing, I say "I'm not clear what it is you are saying is dangerous" because I must be missing something. That is all.
I'm totally capable of writing bad code, especially code hastily
written years ago. Like I said, if my code does that it's a bug and I
will fix it. I use strong language here not because of the bug or
because I am incapable of creating similar bugs but because you seem
to be including "intentionally leave things such that one can
accidentally delete their entire home directory" as a leading
contender for the resolution of this bug.
> No one uses your technique. You might wish to hide in your bomb shelter.
I will assume the second sentence relates to the first in some fashion
which eludes me...
> Your way appears to be the right way to do it (it handles deleting symlinks to plain files as well), but you can understand if I would like to know why no one does it that way.
I am totally used to being the only person in the world who knows the
right way to do something. It's like a daily occurrence with me. I
can understand how it's weird and frightening for you though. No, in
seriousness, I too am very interested in why it's not regularly done
that way, because - among other reasons - I apparently have to fix the
same bug.
> It is in the public API of the compiler[9]
I dispute that this is a "public API" the way this is normally meant.
I don't consider "scaladoc is generated" to mean "this is API."
Certainly I've never endorsed any of it as API. If someone else is
doing that on my behalf then I am sorry you were misled. But we need
not quibble over these semantics, let's just find the right way to
delete things.