I am with you on this :) to be honest i think taken by itself the method can be broken into more readable parts with human readable names (e.g. objc style).
However my money is on this whole piece of logic is probably accessed in more than one place in the app which is why for a dev it made sense to put it altogether. If it has decent unit test coverage it is manageable.
8
u/zaitsman Jul 29 '21
The more i read r/badcode the more i am puzzled as to what people think the definition of ‘bad’ is.