News for hackers. Stuff that matters.
Re:Unit Testing Is Overrated by danans on Thursday July 09, 2020 @09:01PM (#23787060)
> I tend to mentally divide code into roughly two types: "computational" and "plumbing".

I think of the "computational" type more as a "deterministic data transformation" type. That applies to transformations of any data whether text, images, or the state of a machine.

I think of plumbing as the movement of data without any transformation, or if a transformation occurs, it occurs at and abstracted layer that must be unit tested itself independently.

There are no comments on this comment yet.