This is exactly the solution I would use in a production environment, and I have no idea why someone would not, other than they are afraid of math and prefer utterly slow solutions which they can understand rather than learning how good solutions work.
Out of curiosity, could someone explain to me, why you wouldn't use this code in a production environment? If you hover over the 'Clever' button, it states that you wouldn't want to put 'clever' code in a production environment. Looking forward to the responses I get.
That's what I was thinking. It didn't make sense to me either. Thanks for the feedback and insight!
This is exactly the solution I would use in a production environment, and I have no idea why someone would not, other than they are afraid of math and prefer utterly slow solutions which they can understand rather than learning how good solutions work.
Out of curiosity, could someone explain to me, why you wouldn't use this code in a production environment? If you hover over the 'Clever' button, it states that you wouldn't want to put 'clever' code in a production environment. Looking forward to the responses I get.
gauss gang rise up!