Command line parsing
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 14 08:33:59 PDT 2016
On Sat, 2016-05-14 at 15:14 +0000, Adam D. Ruppe via Digitalmars-d
wrote:
>
[…]
> Indeed, D's getopt is almost nothing like C's getopt aside from
> the name - it is a from-scratch implementation more inspired by
> Perl than by C.
I claim then that Andrei misdirected me by asking about C command line
parsing. Also having a name other than getopt for the D thing would
avoid these sort of misunderstandings. Whoever wrote the D CLP chose a
poor label for it in my view.
I would still prefer a data-oriented rather than opinion-oriented
discussion of Python argparse vs. D getopt if there is to be a compare
and contract debate.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160514/b294d186/attachment.sig>
More information about the Digitalmars-d
mailing list