Hacker News new | ask | show | jobs
by tekacs 4410 days ago
Might it not make sense to invert the parity of the environment variable and require its being set for do_by to be used? I imagine most would rather set an environment variable in their dev environment than ensure it gets set in every possible production instance... :/

As much as 'turning off asserts' is the classical style, that's more to do with the design of older instrumentation than the sanity of it.

1 comments

Good suggestion! I have noted it: https://github.com/andyw8/do_by/issues/2
And it's now implemented thanks to joallard.