6
A-C-E
6y

OH MY GOD REFACTORING FEELS SO AWESOME

I just finished spent 4 weeks of crazy busy summer camps and I get back to a project I was working on.

Refactoring.gif

It feels so awesome to just effortlessly move stuff into methods and have it work pretty much first time.

To be fair I’m the only one working on this right now so I pretty much already knew the code but still holy cow it’s so much simpler now.

Moral of the story: Appreciate your time off and use it to unwind and let your mind wander to more creative heights before taking advantage of it after and only after you get back to the project

Comments
  • 0
    I just condensed like 4 exports in my constants file (all for API-related stuff) into one massive JSON object of string mapping’s and it feels so clean/awesome.

    Now any of the api endpoints, response object keys, or flag values can be changed easily.

    😁😁😁
Add Comment