Re: [dev] stest review

From: Rob <robpilling_AT_gmail.com>
Date: Sat, 11 Feb 2012 13:42:55 +0000

On Sat, Feb 11, 2012 at 02:04:43PM +0100, Christoph Lohmann wrote:
> Hello.
>
> Anselm R Garbe wrote:
> > If you can write a simple for() loop to process your command line
> > flags, your interface can't be that hard to grasp for the user.
> > Otherwise he will look up the weirdo flags quite often in your man
> > file and develop hate against your tool over time ;)
>
> That is plain wrong.

I disagree

> Users will rather be irritated, if the commandline argument hand-
> ling is different in every application. They then *have* to read
> the sourcecode for finding out how arguments are handled.

What Anselm is on about, is that it prevents the programmer from
adding more and more flags, keeping the complexity low, not from
having a different style for each application.

Rob
Received on Sat Feb 11 2012 - 14:42:55 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 11 2012 - 14:48:04 CET