Simon Harrer talks about how to avoid negations in your code…

I interviewed Simon Harrer at “Developer Week” about his book “Java by Comparison” - A book about clean code in object-oriented programming languages, especially Java.

In this interview, we talk about negations: Negations in your code and in the names you use. Simon shows us examples of negations. And also how to eliminate them: By switching conditions if necessary.

Check out the video to learn more! Further reading:

The book:
Simon on Twitter:
David on Twitter:
Developer Week:

Read / watch all parts of this series here:

Get the book “Quick Glance At: Agile Antipatterns” for FREE here!