Autor: Didier Kryn Data: Para: dng Assunto: Re: [DNG] Icerbergs aren't small just because they're mostly
underwater
Le 25/01/2016 23:44, Peter Olson a écrit : > This also brings up the question of whether you should roll your own get_name or
> use basename(3) which already does the same thing except in some edge cases.
> It's easier for the student to understand the code if it is implemented as
> get_name, but the student ought to learn about dirname and basename pretty early
> in their study.
Using basename() and dirname(0 haven't the power to trigger an
interesting discussion :-)