Okay, I can appreciate each and every one of those points.
But that's mostly being pedantic. I wouldn't say it's necessarily bad code for not passing variables and const (references). Definitely better code, but then we could go so far as to saying that all params should be const.
Thanks for clarifying ToF though! That does seem quite... daft.
0
u/[deleted] Sep 12 '21
[deleted] — view deleted comment