#booleans

[ follow ]
fromInfoWorld
1 day ago

Five rules for dealing with Booleans

Booleans are powerful and simple, but using them can lead to complex, hard-to-reason-about code; switching to enums simplifies expansion without cumbersome modifications.
UX design
[ Load more ]