[TUHS] Systematic approach to command-line interfaces [ meta issues ]

Jon Steinhart jon at fourwinds.com
Sun Aug 1 08:20:13 AEST 2021


Warner Losh writes:
>
> The flip side to this is that libraries can be debugged once, while inline
> code like the above needs to be deugged over and over....

Well, no.  Inline code doesn't need to be debugged over and over.  It doesn't
have to be written from scratch every time.  While in theory your point about
libraries is correct, it hasn't seem to have worked out in practice.  Better
in C than in node.js, but there have been plenty of spectacular bugs found in
old C libraries recently.

Jon


More information about the TUHS mailing list