Tag Archives for oop

How Can Comments be Controversial?

Comments add information to your code. They don’t impact the execution of that code. So how can they be bad? I believe that more commenting is better, and that comments are a vital tool in maintaining an agile codebase, but … Continue reading

16. January 2016 by evan
Categories: Software, Software Design | Tags: , , , , , | Leave a comment

Why are Side Effects Bad?

Side effects are any observable change to the state of an object. Some people might qualify this by saying that side effects are implicit or unintended changes to state. Mutator methods, or setters, which are designed to change the state … Continue reading

23. December 2015 by evan
Categories: Software Design | Tags: , , , , , | Leave a comment