Poem: A Software Engineer and His Missing Code

submited by
Style Pass
2023-03-21 23:00:03

But little did he know, the TS compiler was about to pull a sneaky on him. When he pulled the latest code, the TS compiler stopped working on a whim.

But what is this? It compiled fine on the server. It compiled fine for his coworker. It compiled fine for every onlooker.

It surely must be local! He tried clearing the cache. That didn’t mesh. He tried upgrading Node. That didn’t bode.

He deletes the folder and reclones the repo. Now the code compiles fine as it was before. Weird but okay! The software engineer shakes his head and plows ahead.

I was working on a refactor which involved moving a domain model from RxJS-backed DataService into Redux.js. I typically work in a feature branch and commit periodically. This was one time I decided to hold off for a bit.

We released a few Ui updates over the weekend, As Monday rolled up, we received a few minor bug reports. No surprise there. I quickly fixed them up and pushed it to production.

Leave a Comment