Monthly Archives: August 2015

Programming Tip: Tag your source code to assist the developers.

How many times have you searched in the code base of your company projects to know how a recurrent treatment was implemented? This might concern a technical treatment like the database access, logging, socket access, etc… , or it might concern a design … Continue reading

Leave a comment

Generic programming to fight the rigidity in the C++ projects

Robert C.Martin wrote an interesting article about a set of metrics that can be used to measure the quality of an object-oriented design in terms of the interdependence between the subsystems of that design. Here’s from the article what he said about … Continue reading

Leave a comment

10 factors to consider when choosing a software library

Choosing a software library is not always an easy task, specially if many concurrent libraries exist for a specific need. Many factors could influence a developement team to choose a library, here are some of them: 1- Licensing The library license … Continue reading

1 Comment

Some characteristics of the Facebook C++ open source projects.

Facebook as Google and Microsoft chose to open source many of their  projects which is a good news for many companies and developers. Indeed having access to the source code from big companies is always interesting for many reasons: They … Continue reading

Leave a comment

Easy way to detect where the C++11/C++14 features are used in a C++ project : WinObjC case study.

In a previous post we talked about the clang-modernize tool to detect where you can use some new C++11 features to modernize your C++ source code.  But how we can easilly detect where the new C++ features are used in … Continue reading

Leave a comment

With the C++17 Concepts we can say goodbye to the class inheritance

Here’s the common definition of the inheritance from wikipedia: In object-oriented programming (OOP), inheritance is when an object or class is based on another object (prototypal inheritance) or class (class-based inheritance), using the same implementation (inheriting from an object or class) specifying implementation to maintain the same behavior … Continue reading

Leave a comment

C++ Static analysis: Bug vs Bug-prone situations

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 can handle many other properties of the code: Code metrics: for example, methods with too many loops, … Continue reading

Leave a comment

10 most voted C++ best practices

Every  project has its own style guide: a set of conventions about how to write code for that project. Some managers choose a basic coding rules, others prefer very advanced ones and for many projects no coding rules are specified, and … Continue reading

1 Comment

Learn the “C” programming language by studying real projects: SQLite case study

Many resources exist talking about the better way to learn a programming language, we can enumerate: Reading a book or a magazine. Web sites. From a collegue. Doing a training. Another more interesting approach is to study a known and mature open source … Continue reading

1 Comment

Based on our feedbacks, the new C++11 standard is not its swan song.

The last few years, many experts, magazines, web sites and developers talk about the  C++ revival. This wave was initiated by the new C++11 standards and it may  continue with the C++17 . But is these new standards were adopted by the companies? … Continue reading

Leave a comment