Book Review: Clean Code: A Handbook Of Agile Software Craftsmanship

Clean code is one of the most important things in a programmer’s work life. Almost every time I have to reuse code that was developed in universities or more generally by non-professional developers, the code is difficult to read and to understand.
After reading this book, I tend to know why it is so and how I can change my ways of coding to produce cleaner code.

Continue reading Book Review: Clean Code: A Handbook Of Agile Software Craftsmanship

Book review: Test-Driven Development

Test-Driven Development is one of the most controversial development processes. Instead of planning everything ahead, you develop your program incrementally as well as simultaneously and rigorously test it. Kent Beck is one of the most proeminent advocates of this method and this book is the Bible of TDD.

Continue reading Book review: Test-Driven Development

Profiling with Visual Studio Performance Tool

After presenting Valgrind as an emulation profiler, I will present Microsoft solution, Visual Studio Performance Tool. It is available in the Team Suite editions, and offers a sampling- and an instrumentation-based profiler. Of course, it is embedded in Visual Studio IDE and accessible from a solution.
Continue reading Profiling with Visual Studio Performance Tool

Interactive RayTracer 1: A barebone raytracer

At last, I’m starting with my first post on my attempt on Interactive RayTracing. This first one will only be on the generic global implementation.

A matrix library must be used, the same basis class will be used for each element, point or color, but with a different size (if needed). I will use a typedef for defining each of them. This will help explaining what is going on. I will not explain the code of the library, althoug the optimization of the raytracer will surely have to be done in this part of the code as well.

So a vector will be named (for the moment) Vector3df, a point Point3df, a normal Normal3df and a color Color. All elements will live in the IRT namespace.
Continue reading Interactive RayTracer 1: A barebone raytracer