* Eric Wilhelm <[EMAIL PROTECTED]> [2007-11-30 01:35]:
> This means buzzword#42 (simplethingssimple-hardthingspossible)
> where the complicated (aliases, wrappers, etc) case is like:

YAGNI.

We already have other ways to make hard things possible. “Hard
things possible” does not imply “using exactly the same mechanism
as for simple things.” Passing information to tests via `%ENV`
has always been possible f.ex., and now we have `--exec` for the
heavy duty stuff. I see this proposal as a way to cover the
majority of ultraminimal parametrisation needs *only*.

Ie. I’d switch to `%ENV` at the point where I started thinking of
putting `use Getopt::Long;` in my `.t` files. Or I might use a
combination of `%ENV` and [EMAIL PROTECTED] (because putting lists of
things in env variables suffers from quoting issues).

In any case, given a mechanism to do the hard things, I think it
perfectly fine to have another simpler mechanism that refuses
to be all things to all people if that is the price for staying
simple.

* Andy Armstrong <[EMAIL PROTECTED]> [2007-11-30 01:45]:
> If you want to be able to flip flop in and out of test args and
> prove args modes just repeat it and say that tests can't use
> '::' as an arg.
>
> $ prove -rb :: gargoyle :: --state=hot,save,all :: splendour :: t/spog.t

Please no. That’s unreadable. Let’s just do the simplest thing
that could possibly work and then leave well enough alone; see
above argumentation.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to