thoughtbot Blog company blog

Clearer Conditionals using De Morgan's Laws

Ever seen a hard-to-parse conditional like this? def allow_access_to_site? ...
Points
115
HN comments
78
Submissions
1
Cited by
0 commenters

Software EngineeringWeb & Frontend2013

On Hacker News

SubmittedTitle on HNPointsComments
Dec 20, 2013Clearer Conditionals using De Morgan's Laws by gabebw11578

More from thoughtbot Blog

All 13 posts →

Related posts from the same era