Hacker News new | ask | show | jobs
by junto 3802 days ago
We use feature toggled a fair amount on our SAAS application. It does create technical debt which at some point has to be addressed.

One thing that confuses our junior developers is the difference between a feature toggles and a client permission. Often they misuse a feature toggle as a client permission, simply because only one client is using that feature (currently).

1 comments

How do you typically address or mitigate your technical debt?
Currently we are forced to ignore it until it becomes a performance problem or a new feature touches the same code. This is simply because new features are paid for by clients and they take priority over technical debt.

We only tend to refactor code (as a rule) when you are already working inside that code section on something new (feature, improvement or bug).

Otherwise junior developers have a tendency to want to refactor all the things!

If you wrote a new unit test, or altered an existing one to accommodate new code, then knock yourself out and refactor away and knock yourself out!