We're a place where coders share, stay up-to-date and grow their careers.
Thanks. Yes, I didn't bring them up because I thought it might sidetrack the discussion of const a bit but if immutability really matters for what you are doing, then definitely.
const
I had always assumed they were immutable, was shocked to find they weren't.
The immutability was the key reason I started to use them.
Thanks. Yes, I didn't bring them up because I thought it might sidetrack the discussion of
const
a bit but if immutability really matters for what you are doing, then definitely.I had always assumed they were immutable, was shocked to find they weren't.
The immutability was the key reason I started to use them.