>You're building lots of technical debt. It's going to end up costing your company lots of money down the road. Fix it now when it will cost less.
>
Would it be better to save error codes and messages in the class properties instead and not pass them as parameters by reference? Do you think it will be a step in the right direction?
I just proposed this to our internal team as another developer found limitations with our current approach.
If it's not broken, fix it until it is.
My Blog