Encapsulation as a defensive programming technique

Hi dear reader, I'm Xavier Jouvenot and, in this article, we are going to talk about Encapsulation, more specifically in C++, even if the concept can be extended to other languages. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming What is it ? … Lire la suite Encapsulation as a defensive programming technique

How to write proper comments ? – Code Craft

Hi dear reader, I'm Xavier Jouvenot and this is the fifth article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'Self Documentation', and you can find book here. The chapter we will treat today, is named 'A Passing Comment - How to write Code Comments'. Back … Lire la suite How to write proper comments ? – Code Craft