News for hackers. Stuff that matters.
Re:What =delete means by dragonwriter on Monday October 18, 2021 @06:52PM (#28912828)
> People will often make mistakes when a function has 3 or more booleans

A function with three or more positional parameters in a language that isn’t badly broken (that is, one that supports keyword and/or structured parameters, which pretty much all significant languages do) is, IMO, a code smell. Even if more specific typing and IDE pulling up signatures can makes it less likely to make usage errors, readability is impaired.

There are no comments on this comment yet.