Android Studio, How to

Quick Tip – How to tell the user what to put in an EditText ?

Hello ! I’m Xavier Jouvenot and in this small post, I am going to explain how to tell the user what to put in an EditText. Self promotion: You can find other articles on Android development on my website 😉 Specifying your message by default To add a indication into an empty EditText, to guid… Lire la suite Quick Tip – How to tell the user what to put in an EditText ?

Android Studio, How to

Quick Tip – How to have an EditText which takes only numbers ?

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to create an EditText which takes only numbers. Self promotion: You can find other articles on Android development on my website 😉 Numbers only by default To make sure that a user only enter numbers in an EditText, there… Lire la suite Quick Tip – How to have an EditText which takes only numbers ?

Android Studio, How to

Quick Tip – How to make a TextView bold or italic ?

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to change TextView into a bold or italic. Self promotion: You can find other articles on Android development on my website 😉 Bold or Italic by default To transform a TextView text into a bold or an italic text,… Lire la suite Quick Tip – How to make a TextView bold or italic ?

How to

Magic numbers and how to deal with them in C++

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about magic numbers. This post was inspired by a rule from the fourth chapter of Code Craft, by Pete Goodliffe, on Defensive programming. What is a Magic number ? A magic number is a raw number in the code. This… Lire la suite Magic numbers and how to deal with them in C++

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++ ?

How to, TipsAndTricks

How to customize your Vagrant and VirtualBox machines’ folder on Windows ?

Last week, for one of my side projects, I had to use vagrant in order to be able to run some tests on a Chocolatey packages I am currently trying to update. But having a computer almost full, any call to vagrant up ended up failing because of my lack of memory space on my… Lire la suite How to customize your Vagrant and VirtualBox machines’ folder on Windows ?

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

How to

How to set up Visual Studio Code command line on OSX ? – Quick Tip

Two week ago, I had to reinstall all the tools I use on a new computer, since the previous one passed away ☠️ And since I often use Visual Studio Code when developing, (please, no debate over which text editor is the best in the comment 😝), I had to reinstall it and make it… Lire la suite How to set up Visual Studio Code command line on OSX ? – Quick Tip

How to

How to set up Sublime Text command line on OSX ? – Quick Tip

Last week, I had to reinstall all the tools I use on a new computer, since the previous one passed away ☠️ And since I use Sublime Text as a default text editor, (please, no debate over which text editor is the best in the comment 😝), I had to reinstall it and make it… Lire la suite How to set up Sublime Text command line on OSX ? – Quick Tip

TipsAndTricks

Bug fixes and Defensive Programming

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about we should add assertion each time we correct a bug. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming. Small Recap on Defensive Programming For those who have… Lire la suite Bug fixes and Defensive Programming