Code Craft

How to deal with errors ? – When your program face the hard reality of the world !

Hi dear reader, I'm Xavier Jouvenot and this is the sixth article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'How to write comments', and you can find book here. Why should I even care about errors ? For a lot of programmers, as long as… Lire la suite How to deal with errors ? – When your program face the hard reality of the world !

Publicité
Code Craft

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

Code Craft, How to

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

Code Craft

The Power Of Naming – Code Craft

Hi dear reader, I'm Xavier Jouvenot and this is the third article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'Coding Standard', and you can find book here. The chapter we will treat today, is named 'What's In A Name - Giving Meaningful Things Meaningful Names'.… Lire la suite The Power Of Naming – Code Craft

Code Craft

Coding Standard – Code Craft

Hi dear reader, I'm Xavier Jouvenot and this is the second article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'Defensive Programming', and you can find book here. The chapter we will treat today, is named 'The Best Laid Plans - The Layout and Presentation of… Lire la suite Coding Standard – Code Craft

Code Craft

Defensive programming – Code Craft

Hi dear reader, I'm Xavier Jouvenot and this is the first article about Code Craft, by Pete Goodliffe. This article is the first of a series in which I will go through this book. It will make me improve as a software developer by resuming it to you, and make you learn about the subject… Lire la suite Defensive programming – Code Craft