In this interview, Simon Harrer shows you how code becomes more readable when you do not separate state and behavior.
In some code bases, you will find classes or objects that only store data, and others that only operate on data. Often, you can make code more readable by moving state and behavior more closely together.
In this interview, Simon Harrer talks about the section “Combine State and Behavior” from his book “Java by Comparison”: A book about writing better source code, with examples in Java.
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: