News for hackers. Stuff that matters.
Re:Clean your codebase with basic information theory by nyrikki on Monday February 19, 2024 @10:16AM (#39430645)
Mutable global variables online work for linear code with no concurancy.

Having code be tree like or at least a DAG is how you resolve what is probably most easily visualized as dependency hell.

This is why many modern patterns try and steer people into having their domain logic centered and compromised of idempotent functions.

And while they didn't know why back then, it is why accounting has used immutable events for over 500 years.

The notion of free variable is another lens to think about it.

There are no comments on this comment yet.