Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I guess the person taking this personally is you, Briann, since I gave proper explaination, where I personally do not think this is a best practice solution, while saying the solution is totally valid.
Don't be such a child and admit that there's different opinions. I do that as well.
"Is" implies equality, which is obviously not the case.
Things like dependency injection have nothing to do with math, as a simple example.
If you wanna learn math, search for math problems. Knowing how to use a calculator does not improve your coding knowledge.
While this solution is of course very valid, it misses the purpose of codewars
Then answer me this question:
Is this page there to improve your coding or your math?
Would name the variables better, since "Best Practice" should have readable code, but the solution should be the way to go :D
I'm surprised that this is considered a "best practice" so often. This solution requires math background knowledge. This isn't "solving" the problem, it just implements a solution.