rwanwork / QScores-Archiver

Quality Scores Archiver
GNU Lesser General Public License v2.1
0 stars 2 forks source link

Improve source code to align with current C++ standards (while retaining backward compatibility as much as possible) #6

Open rwanwork opened 4 months ago

rwanwork commented 4 months ago

The source code was written in C++ 10 years ago. Obviously, the standard has changed a bit.

Suggestions and pull requests that improves the source code would be appreciated. However, I would favour keeping it backward compatible to compilers from 10 years ago as much as possible -- but I would make an exception if it can be argued that the change is the right direction forward.

An (somewhat contrived) example is if C++ compilers 10 years ago did not require variables to be initialised when declared. But present-day ones do. I would be favour of initialising any variables that haven't been because doing so will make current compilers happy. The source code can also still be compiled by older compilers.