News for hackers. Stuff that matters.
Re:A Theory of Software Architecture by skinkestek on Wednesday October 28, 2020 @07:38AM (#24917588)
> But I'm assuming that the functions aren't mucking about with global state or something equally distasteful.

It seems fairly obvious to me that either the former example is waaaay simpler or it is doing something really distasteful.

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.