Comment

Comment by 5hoom

Yeah it kind of feels dirty having all these mutable variables around after doing any functional programming at all.

I've found using const a lot also goes hand-in-hand with raii. If a member of a class is const it must be initialized in the constructor, and it just seems to make me code a bit more "hygienically".

parent 5hoom 12 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton