News for hackers. Stuff that matters.
Re:The Stupid Programmer Manifesto by nerdchum on Thursday June 15, 2023 @05:06PM (#36346502)
Absolutely correct.

> So at any given point you don't even know what data is present or not present depending on which point in the pipeline it has passed or not?

At least with a non mutating data structure with the public contract you can tell if it's passed through a part of the pipeline because a required field is blank or null.

With a mutating data structure that gets changed, say 20 different times throughout the system you have no idea if it's passed through some part of the pipeline or not.

Even better if somehow everything can interact via a centralized database where all state is stored even intermediate state. Its not just storage. It's also state management.

There are no comments on this comment yet.