• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
slacle Avatar
Name:Unknown
Clan:Unknown
Skills:html, css, js, python
Member Since:Aug 2019
Last Seen:Jun 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (34)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • slacle
    • commented on "Is my friend cheating?" kata
    • 3 months ago

    Yea, I think most people here are here for coding/programming, not mathematics.

  • Custom User Avatar
    • Gonzalo Plaza
    • commented on "Convert number to reversed array of digits" javascript solution
    • 10 months ago

    very elegant!!!

  • Custom User Avatar
    • aweinmacher
    • commented on "Greed is Good" javascript solution
    • 14 months ago

    just renaming the vars makes it much more readable

  • Custom User Avatar
    • JakeyDonkeyBrains
    • commented on "Convert number to reversed array of digits" javascript solution
    • 14 months ago

    I had a similar function, but declared a variable first. Makes sense the whole thing could just be returned.

  • Custom User Avatar
    • slacle
    • commented on "Greed is Good" javascript solution
    • 15 months ago

    This is clever but not best practice. Only code that is clear should be allowed to be considered best practice.

  • Custom User Avatar
    • slacle
    • commented on "Moving Zeros To The End" javascript solution
    • 15 months ago

    Can you explain what "array size extension" is exactly? I'm looking at your answer and see "fill" and "concat". Would these not be considered array size extensions also? Is your answer the best answer? If so, is filling a new array and concat better than push and spreading? How come?

  • Custom User Avatar
    • reza-Abdollahi
    • commented on "Moving Zeros To The End" javascript solution
    • 15 months ago

    yes that solution is not be best because of unnecesary loops.
    but yours has unnecessary array size extension (pushs) too. same with array destructuring

  • Custom User Avatar
    • slacle
    • commented on "Product of consecutive Fib numbers" javascript solution
    • 16 months ago

    It's clever for sure. But usually clever != best practice.

  • Custom User Avatar
    • slacle
    • commented on "Simple Pig Latin" javascript solution
    • 17 months ago

    I'm familiar (not expert) with regular explressions and this is hard to read.

    You could say "get familiar with X concept and then it will be easy" for anything that is considered hard for the average person.

    Best practice means best for the average person.

  • Custom User Avatar
    • tony_stark
    • commented on "Moving Zeros To The End" javascript solution
    • 17 months ago

    This is exactly what I did and I was wondering about this - thanks!

  • Custom User Avatar
    • IainDavis
    • commented on "Simple Pig Latin" javascript solution
    • 17 months ago

    It's not that hard to read, if you're familiar with regular expressions. I recommend getting familiar, they are pretty useful.

  • Custom User Avatar
    • slacle
    • commented on "Simple Pig Latin" javascript solution
    • 2 years ago

    Hard to read code is not best practice.

  • Custom User Avatar
    • slacle
    • commented on "Moving Zeros To The End" javascript solution
    • 2 years ago

    2 loops unnecessarily is not best practice.

  • Custom User Avatar
    • slacle
    • commented on "Reverse or rotate?" kata
    • 2 years ago

    The description was harder than the actual problem.
    The description should be rewritten to be clear.

  • Custom User Avatar
    • slacle
    • commented on "Sums of Parts" kata
    • 2 years ago

    Exactly. This kata is too advanced for 6 kyu.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...