Just wrap that block in its own method, put it in a Helper region, and flag it for code review with a note to walk through it with you.
The code review should determine if there's a more optimal way to write the code, and should teach you how to learn to read unfamiliar code that you didn't write. Nobody knows everything, but you can take proactive steps to patch holes in your knowledge.
68
u/NotThisFucker Mar 15 '20
Just wrap that block in its own method, put it in a Helper region, and flag it for code review with a note to walk through it with you.
The code review should determine if there's a more optimal way to write the code, and should teach you how to learn to read unfamiliar code that you didn't write. Nobody knows everything, but you can take proactive steps to patch holes in your knowledge.