What do you think?
Rate this book
179 pages, Kindle Edition
First published January 1, 2018
David Parnas' classic paper "On the Criteria to be used in Decomposing Systems into Modules" appeared in 1971, but the state of the art in software design has not progressed much beyond that paper in the ensuing 45 years.
Long methods aren't always bad. For example, suppose a method contains five 20-line blocks of code that are executed in order. (...) there's not much benefit in moving each of the blocks in a separate method.
Goto statements are generally considered a bad idea, and they can result in indecipherable code if used indiscriminately, but they are useful in situations like this where they are used to escape from nested code.