Comment on Honey, I Shrunk The Vids [Mr. Universe Edition] v1.0.5

<- View Parent
non_burglar@lemmy.world ⁨16⁩ ⁨hours⁩ ago

Nice.

The issues to look for are unnecessary logic (evaluating variables and conditions for no reason), and double sets of variables.

One of the seasoned devs I work with said she encourages coders to transpose work at major inflection points, and this helps all devs gain an understanding of their own code. The technique is simply to rewrite/refactor the code in a new project manually, changing the names of the variables and arrays. The process forces one to identify where variables and actions are being used and how. It’s not very practical for very big projects, but anything under 1000 lines would benefit from it.

Good luck.

source
Sort:hotnewtop