How to, TipsAndTricks

How to check every return statement in c++ ?

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about how to be sure to check every return statement in C++. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming Does it even really matter ? Actually, it… Lire la suite How to check every return statement in c++ ?

TipsAndTricks

Memory Management and RAII

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about Memory Management, 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 Why should you… Lire la suite Memory Management and RAII

How to

How can you check type limits in C++ ? And create your own limits 😉

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about how to check type limits in c++. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming. Why check type limits ? Let's start by talking about why and… Lire la suite How can you check type limits in C++ ? And create your own limits 😉

AdventOfCode

Advent Of Code – Some Assembly Required – Puzzle 7

Hello ! I'm Xavier Jouvenot and here is the seventh part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the problem from the 7th December 2015, named "Some Assembly Required". The solution I will propose in C++, but the… Lire la suite Advent Of Code – Some Assembly Required – Puzzle 7

AdventOfCode

Advent Of Code – Doesn’t He Have Intern-Elves For This ? – Puzzle 5

Hello ! I'm Xavier Jouvenot and here is the third part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the problem from the 5th December 2015, named "Doesn't He Have Intern-Elves For This?". The solution I will propose in… Lire la suite Advent Of Code – Doesn’t He Have Intern-Elves For This ? – Puzzle 5

AdventOfCode

Advent Of Code – The Ideal Stocking Stuffer – Puzzle 4

Hello ! I'm Xavier Jouvenot and here is the third part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the second problem from the 4th December 2015, named "The Ideal Stocking Stuffer". The solution I will propose in C++,… Lire la suite Advent Of Code – The Ideal Stocking Stuffer – Puzzle 4

AdventOfCode

Advent Of Code – Perfectly Spherical Houses in a Vacuum – Puzzle 3

Hello ! I'm Xavier Jouvenot and here is the third part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the second problem from the 3rd December 2015, named "Perfectly Spherical Houses in a Vacuum". The solution I will propose… Lire la suite Advent Of Code – Perfectly Spherical Houses in a Vacuum – Puzzle 3

AdventOfCode

Advent Of Code – I Was Told There Would Be No Math – Puzzle 2

Hello ! I'm Xavier Jouvenot and here is the second part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the second problem from the 2nd December 2015, named "I Was Told There Would Be No Math". The solution I… Lire la suite Advent Of Code – I Was Told There Would Be No Math – Puzzle 2