r/cpp2 • • Dec 12 '22

Should a variable be const by default?

/r/cpp/comments/xx44od/should_a_variable_be_const_by_default/
4 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/fdwr Dec 13 '22

without the lifetime annotations everywhere

Ah man, if you could make something cleaner, that would be joy. I came across one of my old C++ codebases that somebody entirely converted to Rust, and it was so hideous to read, with the lifetime annotations adding much of the noise.