<div dir="ltr"><div>I liked the Frisch and Limoncelli/Hogan books.  Nemeth less so.</div><div><br></div><div>Adam<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 1, 2023 at 3:59 PM Alan D. Salewski <ads@salewski.email> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On Tue, Feb 28, 2023, at 21:34, Dan Cross wrote:<br>
> On Tue, Feb 28, 2023 at 8:38 PM Will Senn <<a href="mailto:will.senn@gmail.com" target="_blank">will.senn@gmail.com</a>> wrote:<br>
>> I'm curious about the experience of those of y'all who actually used them. Were there any early standouts and why did they stand out?<br>
><br>
> This is not going to be popular, but...<br>
><br>
>> Nemeth, E., Synder, G., & Seebass, S. (1989). UNIX System Administration Handbook (5th edition is another fatty)<br>
><br>
> This book gave me some terrible advice when I was very young and impressionable.<br>
><br>
> In there somewhere it says something about not doing something unless<br>
> you're prepared to do it right lest one spend more time working around<br>
> a work-around than one would have spent just doing it well in the<br>
> first place.<br>
><br>
> The conclusion is, of course, true, but the admonition ignores all<br>
> sorts of externalities, like waiting users. And in some cases it could<br>
> really lead to paralysis<br>
[...]<br>
<br>
> Hopefully nowadays we have a better appreciation of the power of<br>
> incrementalism; those grand plans for the perfect system rarely come<br>
> to fruition. It's better to be flexible and make small, impactful<br>
> changes along the way towards a better system, always being mindful of<br>
> and tamping down encroaching entropy.<br>
><br>
>         - Dan C.<br>
<br>
Yeah, good or bad advice at just the right time can have quite an<br>
impact.<br>
<br>
In the under-celebrated "Minimal Perl"[0], Tim Maher notes in the<br>
last paragraph of section 5.8:<br>
<quote><br>
    In your own career, I'd advise you to develop an appreciation an<br>
    appreciation and an aptitude for both the /quick-and-dirty/ and<br>
    /elegant-and-formal/ styles of programming, and to cultivate the<br>
    ability to produce either kind on demand, as circumstances<br>
    warrant.<br>
</quote><br>
<br>
Seems obvious, in retrospect -- but of course many things do with<br>
the benefit of hindsight. For me, that articulated something that I<br>
sensed was the right way to approach things, but was contrary to<br>
much of the one-dimensional advice I had received up to that<br>
point. It pairs well with one of the "lesser tenets" noted by<br>
Gancarz: "Look for the 90 percent solution"[1].<br>
<br>
In my own career, I've found I can often use the quick-and-dirty<br>
approach to buy myself time to afford the "detour to build the<br>
tools"[2] that could not be justified (to others) up-front. And<br>
nothing gets it done faster than a shell script. Five or ten scrappy<br>
N-line shell scripts that get the job done sub-optimally, and<br>
lacking any real thought toward usability or generality buy time to<br>
build better tools (usually more, better-written shell scripts). And<br>
sometimes a scrappy script is "good enough" (for years, even).<br>
<br>
-Al<br>
<br>
<br>
[0] Minimal Perl for Unix People and Linux People<br>
    by Tim Maher<br>
    Forward by Damian Conway<br>
    Manning 2007<br>
    p. 175<br>
    ISBN-10: 1-932394-50-8<br>
<br>
[1] The Unix Philosophy<br>
    by Mike Gancarz<br>
    Digital Press 1995<br>
    p. 117<br>
    ISBN-10: 1-55558-123-4<br>
<br>
[2] [McIlroy78] The Bell System Technical Journal. Bell Laboratories.<br>
    M. D. McIlroy, E. N. Pinson, and B. A. Tague.<br>
    "Unix Time-Sharing System Forward". 1978. 57 (6, part 2). p. 1902.<br>
    <a href="https://archive.org/details/bstj57-6-1899/page/n3/mode/2up" rel="noreferrer" target="_blank">https://archive.org/details/bstj57-6-1899/page/n3/mode/2up</a><br>
<br>
    Also quoted in ESR's "The Art of Unix Programming"<br>
    Addison-Wesley 2004<br>
    p. 12<br>
    ISBN-13: 9-780131-429017<br>
    <a href="https://www.catb.org/~esr/writings/taoup/html/ch01s06.html" rel="noreferrer" target="_blank">https://www.catb.org/~esr/writings/taoup/html/ch01s06.html</a><br>
<br>
-- <br>
a l a n   d.   s a l e w s k i<br>
ads@salewski.email<br>
<a href="mailto:salewski@att.net" target="_blank">salewski@att.net</a><br>
<a href="https://github.com/salewski" rel="noreferrer" target="_blank">https://github.com/salewski</a><br>
</blockquote></div>