Author Archives: Carlo Milanesi

About Carlo Milanesi

I am a software developer in Italy. I have developed financial, engineering, commercial, web, and industrial automation software using many programming languages, mainly C, C++, Visual Basic, Java, and C#. Now I am interested in Rust.

My desired features for a Rust debugger

Backward stepping Most debuggers provide the following commands: Step into the next function (reaching its beginning-point) Hop over the next function call Jump to the end of the current function Run (until next break-point or end of process) But the … Continue reading

Posted in Uncategorized | 2 Comments

Announcement of cpp-mmf C++ open-source library

In the first days of August I published a stable version of the following project on GitHub: https://github.com/carlomilanesi/cpp-mmf/ To install it, press the “Download ZIP” button at the right of its GitHub page, and read the file “manual.html”. As explained in … Continue reading

Posted in Uncategorized | Leave a comment

Announcement of Cpp-Measures C++ library

Last September I published the following project on GitHub: https://github.com/carlomilanesi/cpp-measures/ As explained in the Readme page, it is a C++11 library to encapsulate numbers in objects tagged by their unit of measurement. It uses a novel approach to such well-known problem, … Continue reading

Posted in Uncategorized | Leave a comment

Grammar style for code comments

There are several commenting styles in use. Some programmers use a terse style like: // Get value Others write sentences in plain English language, like: // This should get the current measured value. When using natural language, some programmers use … Continue reading

Posted in Uncategorized | Leave a comment

Adopt a company library to strike a balance between flexibility and simplicity

When choosing a company programming standard, there are always competing choices, with different assets and liabilities. The main dilemma may be described as “flexibility vs simplicity”. A general-purpose programming language is more flexible and a specific-purpose programming language, like the … Continue reading

Posted in Uncategorized | Leave a comment

Using effectively components

For the last couple of decades, major software gurus are predicting that the future of software development is component-based software, as an evolution of object-oriented software. By “component-based”, I mean using third-party object-oriented libraries by instantiating objects whose classes are … Continue reading

Posted in Uncategorized | Leave a comment

When to use C and when C++?

The C++ programming language has been created to supplant the C programming language. It has been a quite successful language, but C is still used in many projects. When it is better to stick to C and when the migration … Continue reading

Posted in Uncategorized | 1 Comment

RAD ups and downs

Since around 1995, the acronym RAD is used for “Rapid Application Development”. It means a development tool or an entire development environment that allows a programmer to quickly create and incrementally change an application whose requirements satisfy the application field … Continue reading

Posted in Uncategorized | Leave a comment

Sort records not numbers

Really many texts about sorting show how to sort an array of numbers. Some even evaluate performance of such algorithms. But real programmers never need to sort a sequence of numbers. In real-world applications only records need to be sorted, … Continue reading

Posted in Uncategorized | Leave a comment

New release of C++ Bolts

This weekend I released the first proper versions of two libraries of the C++ Bolts library set: “countingsort” and “memory_file”. Before that, I just uploaded some chaotic mass (or mess?) of code. It is still so for the other libraries. … Continue reading

Posted in Uncategorized | Leave a comment