<div dir="ltr">How about these names for the module:<div>1. optionparse</div><div>2. shlopt (for shell options, sounds kinda cute albeit less descriptive)</div><div>3. shelloptions</div><div>4. ?<br><br></div><div>And the decorator Names: </div>
<div>1. shell_expose_kwargs and shell_expose_args</div><div>2. expose_keywords and expose_arguments</div><div>3. expose and expose_keywords?</div><div>4. ?</div><div><br></div><div><div class="gmail_quote">On Sun, Sep 6, 2009 at 4:59 AM, Ben Finney <span dir="ltr"><<a href="mailto:ben%2Bpython@benfinney.id.au">ben+python@benfinney.id.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">RunThePun <<a href="mailto:ubershmekel@gmail.com">ubershmekel@gmail.com</a>> writes:<br>
<br>
> I put some sweat into this one so I was hoping to see if you guys like<br>
> it or have any ideas for improvement.<br>
> <a href="http://code.google.com/p/pyopt/" target="_blank">http://code.google.com/p/pyopt/</a><br>
<br>
</div>Thanks for your work on this.<br>
<div class="im"><br>
> from pyopt import CmdPos<br>
> from pyopt import parse_cmds<br>
<br>
</div>My main complaint at this point is the chosen names.<br>
<br>
Within Python code, I don't need to be reminded that I'm writing Python.<br>
The module names should not be ‘pyopt’; you should choose a namespace<br>
that better describes what the module is for, without the ‘py’.<br>
<br>
Also, please name the classes and functions so they're not needlessly<br>
CprsdWrds. Instead, choose names that contain whole words, or at least<br>
very-commonly-used abbreviations with little ambiguity. That way the<br>
names will be both more descriptive and easier to pronounce, and thus<br>
easier to remember correctly.<br>
<br>
--<br>
 \      “[I]t is impossible for anyone to begin to learn that which he |<br>
  `\                thinks he already knows.” —Epictetus, _Discourses_ |<br>
_o__)                                                                  |<br>
<font color="#888888">Ben Finney<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Yuv<br><a href="http://hzk.co.il">hzk.co.il</a><br>
</div></div>