From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21def7b4562d91bf X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.66.86.166 with SMTP id q6mr2509036paz.44.1355590629948; Sat, 15 Dec 2012 08:57:09 -0800 (PST) Path: 6ni46463pbd.1!nntp.google.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.straub-nv.de!nuzba.szn.dk!pnx.dk!news.stack.nl!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GCLP (Generic Command Line Parser) 1.0.0 released Date: Sat, 15 Dec 2012 17:57:07 +0100 Organization: Ada @ Home Message-ID: References: <0160c8ce-1e7c-4e2c-9641-c76502adadd9@googlegroups.com> <9e1a279f-5dc0-47a8-8196-05de1f95e9da@googlegroups.com> NNTP-Posting-Host: aWaWeUaBdaj2Zzc04J1v5A.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.11 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-12-15T17:57:07+01:00 List-Id: Le Sat, 15 Dec 2012 17:20:19 +0100, mockturtle a= = =C3=A9crit: > I agree that this differentiates itself from the usual syntax. I choo= se = > this approach (and wrote this package) once that I needed to write a = > program with a fairly complex syntax and with many possible variations= . If the command line become too complex, that may suggest the command is = = not well suited for the matter. May be a configuration file or project = file, using XML, could be an option. Compare this to some program in som= e = wrong language, becoming unmaintainable, suggesting to use another one. The command line is not the place for a complex syntax (except if it's a= n = interactive shell, and still with quickly reached limits=E2=80=A6). -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity