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.
let totalGoals = 58; is enough 🤣😂
https://www.rubyguides.com/2018/11/attr_accessor/
Today I learned, again and again
For some reason I didn't understand this. In the end I did it through laziness.
the spread operator didnt always exist.
I think I did this efore the spread operator existed. So ...args wasn't valid.
This comment is hidden because it contains spoiler information about the solution
Yes. But another question: is it best practice to use such a non-concise code? You must remember the order of operations. In my opinion, it is really hard to read. I would use parentheses instead.
not best practice because magic numbers.
i see 4.54609188 and 1.609344 but
if i was looking at this code for the first time I wouldn't immediately know what they represent.
Great problem-solving skills!
dang this has convinced me to always write out a 1-10 list of inputs -> outputs now...
not very clean, btw
Each of them going to be false and true sometimes. When the condition return true or false, even it return true fullfilling the condition.
This comment is hidden because it contains spoiler information about the solution
Loading more items...