4 ms·
That's why some newer languages have 'const are the default'.
by nuancebydefault 3y ago
That's why some newer languages have 'const are the default'.
- Tommstein 3y agoI'm pretty sure it's the reference that makes the data not be copied.
- nuancebydefault 3y agoCopying the data to a const makes little sense in this case. The extra & choice that has emerged makes things more complicated than needed. The sad faith of this old language.
- nly 3y agoWithout the const the key would still be const.