:: Re: [DNG] Icerbergs aren't small ju…
Forside
Slet denne besked
Besvar denne besked
Skribent: KatolaZ
Dato:  
Til: Peter Olson
CC: dng
Emne: Re: [DNG] Icerbergs aren't small just because they're mostly underwater (was: "Common knowledge?"-question)
On Mon, Jan 25, 2016 at 05:44:11PM -0500, Peter Olson wrote:

[cut]

>
> 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.


Apart from students' interest, the Unix phylosophy is all about
designing simple, orthogonal, robust components and functions that can
be reused and combined together to accomplish tasks unforseen to their
initial developer. Unix is not about reinventing the wheel every
single day.

HND

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]