Re:My Thoughts on “Bad Code”
by watwut on Friday March 17, 2023 @10:03AM
(#35197211)
> I'd much rather read one function top to bottom than have to jump into 7 nested function calls that are only called once.
I actually would not. I do not want to have to read every detail of each condition or formula on the first pass. I want to see high level gist of what is supposed to happen - high level algorithm. Plus, I like when variables have clearly limited scopes.
I actually would not. I do not want to have to read every detail of each condition or formula on the first pass. I want to see high level gist of what is supposed to happen - high level algorithm. Plus, I like when variables have clearly limited scopes.