:: Re: [DNG] Icerbergs aren't small ju…
Inizio della pagina
Delete this message
Reply to this message
Autore: Didier Kryn
Data:  
To: dng
Oggetto: 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 :-)


     Didier