ScottishCovidResponse / SCRCIssueTracking

Central issue tracking repository for all repos in the consortium
6 stars 0 forks source link

Function parameters should be const where possible #715

Open ianhinder opened 4 years ago

ianhinder commented 4 years ago

There is very little use of const throughout the code. Const helps to increase reliability, can improve performance, and aids good design by clearly separating inputs and outputs.

I tried early on to convert some of the parameters to const, but it is notoriously hard to do this to an existing codebase if it isn't done from the beginning,.

github-actions[bot] commented 4 years ago

Heads up @chrispooley @ianhinder @rwj11 - the "BEEPmbp" label was applied to this issue.