News for hackers. Stuff that matters.
Re:How to write better scientific code in Python? by AtlasBarfed on Sunday February 20, 2022 @01:07PM (#30407740)
Yeah, coding like this ("pure" functions, input value -> output value, less/no side effects) is probably best "improved by just having unit tests.

I'm not a TDD zealot, just that the unit test can provide the assurance of the computation, regardless of the spaghetti inside the computation.

There are no comments on this comment yet.