Re:A Theory of Software Architecture
by peterwwillis on Wednesday October 28, 2020 @08:42PM
(#24925853)
Some designs don't require your own code to pass around state between functions, because each function can handle state in its own way without dependence on other functions. I've written a lot of such simple scripts where I just need to execute a series of tasks that aren't necessarily related to one another, but do follow each other.
It seems fairly obvious to me that either the former example is waaaay simpler or it is doing something really distasteful.