4 ms·
It makes sense, historically. They had AI features that were always on. Some people complained so they introduced a flag to, wait for it, disable the ai featu
by kjksf 1y ago
It makes sense, historically.
They had AI features that were always on.
Some people complained so they introduced a flag to, wait for it, disable the ai features.
So they didn't think too deeply about it and named the flag "disable_ai" because it mapped into how they were thinking about it.
You overstate the problem with negative booleans. It's trivial for them to add a function:
fn isAiEnabled() { return !disable_ai }
and just use that.
- andoando 1y agoI mean you may equally want if(disable_ai) { //disable shit }