trait for (ddoc)-comments

bearophile bearophileHUGS at lycos.com
Sun Aug 19 07:36:53 PDT 2012


David:

> Actually, that's why I want that trait :)

But in practice, as your command line programs get a little more 
complex, docopt is not enough, you need normal programming with 
things like argparse.

So maybe a mix of the two ideas is better, to write most stuff in 
the docstring, and then refine its semantics below with normal 
code.

Bye,
bearophile


More information about the Digitalmars-d mailing list