My name is Andre and this is my personal part of the Internet. Here I publish all the stuff I create that (I hope) might be worth sharing: from my thoughts about the society, languages, technologies, religions and politics, through some fiction and poetry, to my open-source programming projects.
Professional web developer, proud 🇪🇺 European, currently living in 🇩🇪 Germany, 🏳️🌈 gay, 🍑 naturist, 🗽 liberal, 🕊 pacifist️, ⚛ atheist️.
Keeping your classes immutable and stateless makes your code way less prone to bugs. Yet somehow this clean code rule isn’t as popular and as often invoked as SRP, YAGNI, DRY, KISS and others... Maybe it’s because of the lack of a catchy acronym?
Anyways, I’d like to take a look at two examples of when sticking to this rule could save your ass (or at least save you some time debugging).