Before you ship your next big feature, just put it behind a “flag” ⚡
You ship with confidence when you know you have a rollback plan and this simple flag is the simplest way to achieve it. If something goes wrong, you can just switch off the flag, and the feature just disappears.
You do not need a fancy system to do this, just a simple configuration file, an environment variable, a database constant, or a runtime configuration is good enough to implement this feature flag.
Remember, everything you ship, should be (easily) rollback-able.
⚡ I keep writing and sharing these engineering nuggets, so if you are keen on learning them, follow along.
youtube.com/c/ArpitBhayani