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: https://java.by-comparison.com/
Simon on Twitter: https://twitter.com/simonharrer/
David on Twitter: https://twitter.com/dtanzer/
Developer Week: https://www.developer-week.de/

Read / watch all parts of this series here:

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