This is a guest post by Vaughn Cato. Vaughn has been developing using C++ since the early 90’s and is still learning! You can find him on Twitter @vaughncato. Thanks to Ricardo Nabinger Sanchez for his review of the article. Refactoring is a technique for making improvements to the design of a code base without […]
This post is the second part of guest writer Quentin Balland‘s series on FSeam, his testing framework that allows to test legacy code without heavy refactoring. Today Quentin walks us through how FSeam works. Quentin is a French C++ developer eager to learn and share his knowledge on his free time. You can find Quentin […]
In this guest 2-post series, guest writer Quentin Balland presents us FSeam, his mocking framework to make code testable without losing readability because of mocks. Quentin is is a French C++ developer eager to learn and share his knowledge on his free time. You can find Quentin online on @FreeYourSoul68 and on his blog. FSeam […]
Today’s guest post is written by Issam Lahlali. Issam is the CppDepend lead developer. He enjoy writing C++ code every day and he wrote many posts about the C++ code quality. Static analysis is not only about directly finding bugs, but also about finding bug-prone situations that can decrease code understanding and maintainability. Static analysis […]
When we put a piece of code into a unit test, sometimes we need to hammer it into a shape that fits into a test harness. A typical example is for cutting dependencies: the function we’d like to test depends on UI, a database, or just something really intricate that our test binary can’t link […]
We haven’t talked too much about refactoring on Fluent C++ so far, but this is a topic related to code expressiveness. Indeed, most of the time we don’t start working on production code from scratch, but we rather work on an existing base. And to inject expressiveness into it, this can come through refactoring. To […]