Post #2456456
2026-04-22 15:58 UTC
@joxean@mastodon.social
We used to, but now we rarely do this at work.
Most constants are global, so this eliminates the need for local const.
Also, making "intermediate" data const turned out to be more noisy than useful. Our review comments shifted from "these variables could be const" to "this function is too long/complex". The latter helps to prevent accidental modifications.
Replies (0)
No replies.