@bruno re. constexpr - I think your interpretation is that it only matters for quantities that are compile-time-constant, and that interpretation is wrong.
You're welcome. And I disagree with the age take. I think we as professionals need to operate in an atmosphere of hope: change for the better is possible.
Great. I don't think that length of a career is necessarily the best metric for people being effectual; and also, this is less about tools and more about humans.
The decrement is a trivial example, but there are more severe examples where being able to easily separate a mutation and the evaluation of its effect are very, very important.
@bruno constexpr has almost nothing to do with constant values. I strongly encourage you do to some reading on e.g. stackoverflow.com/questions/14116003/…
No, that's not what I mean; (a) I meant fixing the indexDiag functions and then do the same for isUsable; (b) there being no perceptible difference in execution time doesn't particularly matter; it's still the right thing to do to tell the compiler what's possible and unblock other optimisations upstream.
I'm dying here. What's the name for a class of question where it doesn't address the root of the question, is superficial, and tends to produce answers that don't materially improve the situation? aka. "what are you actually asking"
My longest-standing gripe with SE is that downvoting is silent and anonymous. I think if it required an accompanying comment the incentive structures could improve.
and (b) yes, that is weird. My mental threshold for down-voting sits somewhere between "abusive content" and "spam/AI slop"; and if the poster is acting in good faith there's basically never a case where I think a downvote is a useful tool.
> I've noticed a lot of posts seem to get bizarre -1s. Lots of posts will enter the 2nd with a random -1 which doesn't make much sense. I would ask a CM... but the team seem to take 6-8 weeks to respond.