|
|
|
|
|
by Jtsummers
1005 days ago
|
|
It's not a Go thing. I've inherited a number of large linear functions of the author's favored style in several C-syntax family languages, they all become increasingly incomprehensible as they grow longer and older. For any advocate of that style, the only way to maintain them (and retain their supposed clarity) is to extract functions and then re-inline those functions after a comprehensive refactoring. Otherwise, they accrue so much cruft over time that their legibility is completely lost. Your only other option is to freeze them and never make changes, that doesn't happen much in real-world code (though it probably should). |
|