Eliminating Code Complexity by Finding Double Negatives

Jeff Morhous
2 min readOct 28, 2022

I have been reading “A Philosophy of Software Design,” and almost the entire book is spent either explaining the dangers of complexity in a codebase, or eliminating complexity.

Code, especially Ruby code, should make its intent loud and clear to the reader. Clear code is the opposite of complex code. It’s easy to understand its purpose, so it’s easier and less risky to…

--

--

Jeff Morhous

Jeff is a Software Engineer building web apps with Ruby on Rails