• 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
exor Avatar
Name:exor
Clan:exor
Member Since:Feb 2017
Last Seen:Jun 2025
Profiles:
    Following:0
    Followers:1
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (138)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Hyakume1
      • commented on "Reverse List Order" javascript solution
      • 12 days ago

      Definetly not, this is the lazy solution that goes against good practice by changing the original list.

    • Custom User Avatar
      • Ryan9698
      • commented on "Reverse List Order" javascript solution
      • 9 months ago

      Thanks for your input. After reading I went to look into it and learned a lot and better practices. Thank you!

    • Custom User Avatar
      • proff1991
      • commented on "Reverse List Order" javascript solution
      • 9 months ago

      Example: the teacher gave the task to find a favorite quote from the Harry Potter book and show it to the whole class.

      Solutions without mutation: copy the quote from the book with chalk onto the school board, scan the book page, print the quote from the electronic version of the book and stick it on the board.

      Solution with mutation: take scissors, cut out the quote from the book and stick it on the board.

    • Custom User Avatar
      • Paul_Copley
      • commented on "Reverse List Order" javascript solution
      • 9 months ago

      can you please explain why for the benefit of people who are most likely new and don't realise the implications of this (or what mutating even means)

    • Custom User Avatar
      • proff1991
      • commented on "Reverse List Order" javascript solution
      • 9 months ago

      Mutating an argument is the worst thing you can do.

    • Custom User Avatar
      • unlink.unperks
      • commented on "Reverse List Order" javascript solution
      • 17 months ago

      it's not.

    • Custom User Avatar
      • exor
      • commented on "Reverse List Order" javascript solution
      • 2 years ago

      list don't change

    • Custom User Avatar
      • _Madan_
      • commented on "Reverse List Order" javascript solution
      • 2 years ago

      Please advise as we all know, we should avoid changes in original array. So how this is the best practice?

    • Custom User Avatar
      • dannykryan
      • commented on "Reverse List Order" javascript solution
      • 2 years ago

      Ah, that's what I should have done! Good work.

    • Custom User Avatar
      • user8070803
      • commented on "!a == a ?!" javascript solution
      • 3 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • chucky-1
      • commented on "Car Park Escape" kata
      • 5 years ago

      "You don't necessarily start at the first floor" Exactly! Now I understand what the mistake is :)

    • Custom User Avatar
      • Kees de Vreugd
      • commented on "One Line Task: Largest Rectangle" javascript solution
      • 5 years ago

      In the end, it's quite simple.
      Can't believe I've been staring at this thing for hours, over the last couple of months.

    • Custom User Avatar
      • EvgenyP
      • commented on "Reverse List Order" javascript solution
      • 6 years ago

      thanks for creating this kata

    • Custom User Avatar
      • SpecialEd
      • commented on "!a == a ?!" javascript solution
      • 7 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • henryRRR
      • commented on "Sectional Array Sort" kata
      • 8 years ago

      I was also a bit mystified by length = 0 in the random tests.

      I imagine if the length of the segemnt to be sorted is 0, then nothing gets sorted.
      Instead the tests expect length=0 to result in everything from start to the end being sorted

      That aside, thanks for the kata

      ---- this from test results ----
      Testing for [46, -90, -30], 0 and 0

      [46, -90, -30] should equal
      [-90, -30, 46]

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...