Arthur O'Dwyer personal blog

Const all the things?

Last week someone posted a /r/cpp thread titled “Declaring all variables local to a function as const”: Ok, so I’m an old-school C++ programmer using the language now since the early ’90s. I’m a fan of const-correctness for function and member declarations, parameters, and the like. Where, I believe, it actually…
Points
129
HN comments
158
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2022

On Hacker News

SubmittedTitle on HNPointsComments
Jan 24, 2022Const all the things? by todsacerdoti129158

More from Arthur O'Dwyer

All 11 posts →

Related posts from the same era