--- Yukihiro Matsumoto said:
Hi,
In message "Re: mkdir -p"
|> Dir methods are one to one relationship to the system calls.
|> FileUtils are more abstract/higher level/uniformed way to operate on
|> files/directories.
|
|This is a technical explanation, but not a reason...
It's a technical explanation and a design policy.
matz.
It is important to keep high-level libraries high-level, and
low-level libraries low-level. When the two mix you get
a sort of pollution.
For example, OpenGL doesn't specify a windowing system, and
from the other side, applications generally don't manipulate
kernel space. These are extreme examples, but the concept
applies equally to Dir/FileUtils.
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/