4 ms·
> To most developers, it means that your LUCKY_NUMBERS will always be 12, 19, and 42. Is that really true? I would assume the opposite. Most developers have us
by mbrameld 11y ago
> To most developers, it means that your LUCKY_NUMBERS will always be 12, 19, and 42.
Is that really true? I would assume the opposite. Most developers have used Java or C# or any of the other languages that have similar reference semantics. I would agree if you qualified that with "beginner".
- zyxley 11y agoI suspect if you did a survey, there would be plenty of programmers who would reply "it works like this, except these languages do something different", because "const means immutability" feels "right" despite many mainstay languages doing it differently.