Re: openDir is confusing

Vesa Karvonen <vesa.karvonen-bbCR+/[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Quoting brian <briand-/[email protected]>:
> [...] So why doesn't readDir simply return the FULL path in the first
> place instead of just the pathname ?

>From a design perspective, I would say that it is usually easier to
concatenate a dirname and a basename than split a(n absolute or
relative) path into the dirname and the basename.

--Vesa Karvonen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.