Each programmer has its way to learn a new programming language, and the difficulty to master it depends on many factors, we can enumerate:
- The language itself.
- The programmer experience.
- The language community.
- The existing language resources ( websites, books,…).
Here are some pragmatic steps to learn a new programming language: Continue reading “Pragmatic approach to learn a new programming language.”
16 years after its first checkin, SQLite is the most widely deployed database engine in the world. such open source project is a good candidate to learn how to make your code easy to understand and to maintain.
Let’s discover some facts about the SQLite code base, for that let’s begin with the following code snippet: Continue reading “SQLite: The art of keep it simple.”
C is one of the most popular language around all the world, it was initially developed by Dennis Ritchie between 1969 and 1973 at AT&T Bell Labs. Many thousands of projects was developed using C since then. It’s used for all kinds of needs, we can enumerate OS, embedded applications, gaming development, image processing, word processing and database engines. Continue reading “45 years since its creation. The C language still very popular.”
Last year we launched the C++ Best Practices repository. It’s an aggregator of some known C++ rules guides:
- Google Style Guide.
- jsf air vehicle c++ coding standards.
- Effective Modern C++ from Scott Meyers.
- POCO coding standards.
Continue reading “1 year after launching the C++ best practices repository, the basic rules are the most popular.”
The majority of developers have already heard about the design patterns, GOF(Gang Of Four) patterns are the most popularized, and each developer has his way to learn them , we can enumerate:
- Reading a book.
- From web sites.
- From a collegue.
- Doing a training.
Regardless of the method chose, we can learn by heart the patterns and spent hours to memorize their UML diagrams, but when we need to use them in a real project, it becomes more problematic. And related to google trends the design patterns are not more popular as before. Continue reading “Do the developers have less interest in design patterns or they are more pragmatic?”
“A picture is worth a thousand words” is an English idiom. It refers to the notion that a complex idea can be conveyed with just a single still image or that an image of a subject conveys its meaning or essence more effectively than a description does.
This idiom could also be applied in software programming. Indeed you can easilly understand a mini project when exploring its source code. However a big project become complex and not easy to understand. In such cases it’s better to visualize the source code using graphs and diagrams to assist the developers understanding the source code. Continue reading “A picture is worth a thousand words: Visualize your C/C++ Projects case study.”
Static code analysis is the process of detecting flaws in software’s source code. The static analysis tools are useful to detect common coding mistakes; here are some benefits from using them:
- Make the code source more readable and maintainable.
- Prevent unexpected behavior in execution.
- Optimize the execution.
- Make the code more secure.
Many C/C++ static analysis tools exist right there, each one focus on a specific area and has its advantages, we can enumerate:
- Clang Analyzer
- Visual C++ Analyzer
Continue reading “Make the most of the C/C++ static analysis tools”