The benefits of constraints

If you want everyone on the team to write better code, enforce strict linting rules.

Do static type checking.

Create a dev environment that mimics production.

Yes, you can write code faster when you don’t have a linter screaming at you and don’t need to deal with making sure everything is correctly typed.

But writing brittle code faster doesn’t get you to a solid product faster.

It just pushes the pain further down the line.

If you have to eat a frog, it’s best to do it on an empty stomach, early in the morning.

Yours,

Taj

All writing