
Not operator is our friend. Not not operator is not our friend. TL;DR: Avoid double negatives in boolean expressions Problems Readability Solutions Name your variables, methods and classes with positive names. Sample Code Wrong if ( !work.isNot...
Software Engineer
I’m a senior software engineer loving clean code, and declarative designs. S.O.L.I.D. and agile methodologies fan.
Markdown supported · ⌘↵ to post
Chris Bongers
Interesting point!
Agree, would be cool how to setup a linter for this