Pure vs Impure Methods: Understanding Side Effects in Coding

What’s the difference between these two methods? and Well, there are two ways of answering this question (aren’t there always?). One way is to look from outside in. If we squint our eyes and only look at the method signatures, they are identical. (The only difference is the name, but that’s just so I can… Continue reading Pure vs Impure Methods: Understanding Side Effects in Coding

Blessed Are the Pure Methods, for They Shall Be Testable!

My beloved brethren, hear me now! There are two kinds of methods in this world! On one side, there are those that walk in righteousness—methods of peace and purity, untouched by the temptations of the world! These are the pure methods, unshaken by the chaos around them. They take only what is given, mindful of… Continue reading Blessed Are the Pure Methods, for They Shall Be Testable!