Well, 4 and 5 months isn't that recent, is it? I mean, it'd cool to have a feedback in case your code is different from the others. Considering that most of the best solution use very old JS (which is fine, they gave that solution years ago).
There are comments from 4 and 5 months ago, when all is clear, there is no need to make comments in a solution, there are plenty solutions for each kata.
Relying on non-standard engine behavior can not guarantee you anything at all. If tomorrow V8 devs decide to introduce some optimizations that break this rule - your code is broken as well. Standards are being created with a purpose.
As for 2nd, more lines of code is not the sign of bad code - we write code for humans, not for the machines. If your code is tough for human to understand - it's a bad code.
Regex as best practices? Who da hell upvotes this solution?
Sigh, I need to paractice a lot to get this level :|
Me, looking at my long ass solution and then seeing this:
"I'm not a very good developer, heh"
This comment is hidden because it contains spoiler information about the solution
Genius
This comment is hidden because it contains spoiler information about the solution
Yes, I had a problem where I tried to do the exact same way, but I was encountering problems because my keys weren't going in order.
🚀 Great!
Great solution. Bravo!
Well, 4 and 5 months isn't that recent, is it? I mean, it'd cool to have a feedback in case your code is different from the others. Considering that most of the best solution use very old JS (which is fine, they gave that solution years ago).
There are comments from 4 and 5 months ago, when all is clear, there is no need to make comments in a solution, there are plenty solutions for each kata.
What do you guys think about my solution? And, btw, why were all the comments written more than a year ago? Is this platform dying? I don't get it.
Relying on non-standard engine behavior can not guarantee you anything at all. If tomorrow V8 devs decide to introduce some optimizations that break this rule - your code is broken as well. Standards are being created with a purpose.
As for 2nd, more lines of code is not the sign of bad code - we write code for humans, not for the machines. If your code is tough for human to understand - it's a bad code.
This comment is hidden because it contains spoiler information about the solution
so is that only work on codewars?
then i think this code should be fixed...
what do you think?
Loading more items...