So action=create object=directory
you want to be sure that you create a directory?
What if it already exists?
Since you want to be sure to create, will you erase and re-create?
You see the kind of misunderstanding this could create...
IOW, self ensureCreateMisunderstanding


2013/10/25 St�phane Ducasse <stephane.ducasse@inria.fr>
Consistency
ensureActionObject

ensureCreateDirectory
ensureCreateFile

We discuss a lot with camillo when we did it and I think that this is good right now.

> Out of curiosity, what was the motivation behind Issue 10924: Simplifying
> ensure* and create protocol?
>
> For me #ensureCreateDirectory is less intention revealing than
> #ensureDirectory because the "ensure" means "create only if necessary", not
> "definitely create" a directory. What am I missing? Thanks.
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/ensureCreateDirectory-tp4716925.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>