Comment by cyberax

7 hours ago

Of course. Problems that existed in 60-s were very real. And structured programming was an improvement over messy gotos.

At the same time, software from 1960-s did not have to deal with a lot of error conditions. When all you have is infallible computation code, you tend to overlook handling cleanups and exceptions. It was also single-threaded, so there was no focus on locking/mutability.

And it turns out that dealing with both of these requires stepping away from pure structured programming with one nice happy path and a single return.