What would you do to me?
February 25, 2020 —
~level3
I wrote this horrible code today:
if (data.status = HTTP_STATUS_CODE.NO_CONTENT) {
I meant to write
if (data.status === HTTP_STATUS_CODE.NO_CONTENT) {
Clearly, this is a major bug. I did catch it but not before deploying it to development environment. What would you do if you were my supervisor?
I didn't rewrite history as I had already pushed my changes before I deployed to development.
tags: shitpost, programming