@neilogd @gunvulture @fahickman There's a bit of a false impression here, though.
-
-
Replying to @cmuratori
@cmuratori@neilogd @gunvulture@fahickman I would not say, "don't use const because it might cause someone to think less about the code."2 replies 0 retweets 1 like -
Replying to @cmuratori
@cmuratori@neilogd @gunvulture@fahickman I would say, "Don't bother with const because it's only going to catch trivial bugs."2 replies 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori@neilogd @gunvulture And I think most of us are agreeing that it has more value as documentation than error catching.1 reply 0 retweets 0 likes -
Replying to @fahickman
@fahickman@neilogd @gunvulture I don't know if I think that's true either, because it doesn't adequately denote the intent.1 reply 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori@fahickman@neilogd @gunvulture If something is const, I don't know if that's because you _didn't_ need to modify...1 reply 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori@fahickman@neilogd @gunvulture ... or because it was crucial that it _not_ be modified. So I don't know if I can remove it.2 replies 0 retweets 1 like -
Replying to @cmuratori
@cmuratori@fahickman@neilogd @gunvulture If there was some kind of rule that const is only for things that "must not" be modified...2 replies 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori@neilogd @gunvulture And I agree that something like D's immutable is more useful than const.2 replies 0 retweets 0 likes -
Replying to @fahickman
@fahickman@neilogd @gunvulture Yes, part of the reason I never use it is because it's very poorly executed in C++ (shocking, I know :)1 reply 0 retweets 0 likes
@cmuratori @fahickman @neilogd @gunvulture I maybe could envision using it in other languages where it was more sensible.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.