26
ichijou
78d

My fucking habit

*a wild bug appears(non-critical)

*fixed the bug

*try out some stuff to make sure it doesn't break the other cases

*commented the fixed part of the code to make sure I'm actually working on the problematic part of the code

*realized the screen I'm working has minor UI flaws

*fixed the UI issue

*found some shit codes I've been meaning to clean up since back when

*notice the code could use some linting rule changes

*69 changes and 6 commits later

*smoke test

*deployed to prod

*saw bug report within hours after deployment

*app crashing on prod on the buggy case

Apparently I forgot to test the case and uncomment the fix 🙃

Comments
  • 9
    ADHD. Not even once.
  • 8
    Dude, that's why you use branches, not commenting!
  • 1
    @SortOfTested ikr,

    @kephasp well, initially I wanted to commit right after I did the comment/uncomment thing, but my attention slipped somewhere else and never went back 🤷🏻‍♂️, I should get myself used to doing smaller commits as well,
  • 1
    @ichijou that's one of these things where habit is key. If you *always* do small commits and separate branches for everything, you won't get into a situation where you realize it's critical, too late.

    I now do it because I got bitten in the ass several times. We learn from our failure, hopefully.
  • 0
    git checkout please!
Add Comment