Writing tests represents one of those few stages of software development that is usually overlooked, even though it may be one of the most important. Developers mention it and usually are either uncomfortable and prefer not to write tests for their code, or have many excuses for not writing them at all.
Tag: code (Page 3 of 3)
When you are programming, there are cases when you implement something in such a way that it is difficult to understand and reuse by others. As a result, you decide to write comments above it to explain the logic behind your code. The moment you decided to write this type of comment, you admitted that your implementation is already complicated enough so that others or your future self would benefit from adding this plain English type of explanation. Continue reading
I recently read this wonderful article about the impossibility of having a perfect coding style guide that would please everybody. The author, Bill Sourour, a seasoned developer who has been programming professionally for decades, mentions that he himself had been involved in heated arguments by defending one coding style over the other. However, according to him, in the end it does not really matter that much, as long as it is a readable and maintainable code. Continue reading