Hacker News new | ask | show | jobs
by rightbyte 1118 days ago
When you are using the function, ye. Not when you are writing it. And if you someday want to change a const method to non-const you could have a cascading constness change all over the place.
1 comments

But usually functions are used more than once.

"cascading constness change"

Which is good because invoking code may rely on function being read-only.