News for hackers. Stuff that matters.
Re:Evil Coding Incantations by a_t48 on Tuesday December 26, 2017 @04:14PM (#16011080)
Success being false is definitely an odd pattern to me. I know I’m not the only one tripped up by it (‘canWrite()’ should return true on success...except if you want to return an error code by value). This is sort of fixed with C++ ‘enum class’, but obviously this isn’t always possible to use.

There are no comments on this comment yet.