News for hackers. Stuff that matters.
Re:Ship Something Every Day by zarathustreal on Tuesday June 11, 2024 @09:52AM (#40646202)
> 1. Develop a system where you can turn codepaths on and off with a toggle.

> All are good practices…

I beg to differ on this point actually. It’s very difficult to get right and leads to subtle bugs (or even potential security vulnerabilities). It also pollutes the codebase with conditional statements that aren’t related to the business logic and makes it harder to read. Avoid feature flags.

There are no comments on this comment yet.