[TUHS] Systematic approach to command-line interfaces [ meta issues ]
imp at bsdimp.com
Sun Aug 1 09:26:00 AEST 2021
On Sat, Jul 31, 2021 at 4:37 PM Jon Steinhart <jon at fourwinds.com> wrote:
> Warner Losh writes:
> > The flip side to this is that libraries can be debugged once, while
> > 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
> have to be written from scratch every time. While in theory your point
> libraries is correct, it hasn't seem to have worked out in practice.
> in C than in node.js, but there have been plenty of spectacular bugs found
> old C libraries recently.
The large number of times I've had to replace inline code like you've
getopt to fix the irregularities in command line parsing suggests that we
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS