Vous ne pouvez pas comprendre la récursivité
sans avoir d’abord compris la récursivité
Pour moi, l’important était d’avoir des concepts clairs et que graphiquement cela soit logique, ensuite la forme vient toute seule. Françoise et le programmeur (Pierre Canthelou) ont parfaitement capté mes idées et ont fait un très beau travail d’animation.
Article complet : http://www.lasourisquiraconte.com/blog/interview-croisee-ma-rentree-colere/
One of the eXtreme Programming rule is to test first before code. Special test frameworks have been developed for various languages, including C++ (known as CPPUnit), and all share the same design.
They probably all work very well, but I found the CPPUnit not simple enough and finally, it does not fit the way I'd like to test before code, as we are working on Visual C++ and using exclusively the MFC classes.
So I made another test framework, that seems like any other XUnit, but simplest to my mind.
Be careful, I'm just going to explain the way I understand some XP principles, and the way we use them for our software development. They could not be the right way, but it works for us.
This test framework allows you to code tests linked to your software. They are developed in parallel and make sure you code what is needed and also make sure there is no code regression as you integrate any other software functions or classes...All the tests are ran every time. If you make a change and the whole test result is not 100% free of error or misses, then YOU broke something. It makes even more sense when you work with different teams or when you have to modify code lines of another person. You can't break the code. For more information about test-first programming, see this link.
Take a little time to make test-first programming, and you will find your code simpler, smoother and more robust to changes.
Copyright © 2017 - Pierre Canthelou (Photos Olivier Beaurain)