Skip to content

Brainstorming Scratchpad

Zearin edited this page Feb 16, 2013 · 2 revisions

Ideas for PyVows


Requesting a feature? Tell us about it using Issues.

This page is for:

  • brainstorming ideas that aren’t quite “concrete” enough to get their own issue; or,
  • maybe you definitely want Feature X—but there are 2 or 3 ways it might be accomplished, and you want to document the pros and cons of each

PyVows “scaffolding”

Idea 1: Scaffold for entire project

Issues

  • Can this kind of automation generate something that is actually useful?
  • There are many ways to organize code.
  • There are many ways to organize testing code, too.
  • For inspiration, check out Pythoscope, a project dedicated to scanning your source and generating testing code.

Idea 2: Scaffold from templates

  • Allow something like pyvows --scaffold > some_vows.py.
  • It would save people a lot of copying and pasting
  • The generated code could include a few helpful comments to get people started. (It’s always easier to delete a helpful comment that was generated than it is to look up something on http://pyvows.org .)
  • Taking this idea further, pyvows --scaffold --template generative > some_vows.py, where generative could be one of a few standard templates. (In this case, the template would include skeleton code for testing a generative testing. )

Hmm…I really like this one! Maybe I’ll open a feature request shortly… ☺