• 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
ItsEasy322 Avatar
Name:Herman Schechkin
Clan:Clan of Django Importers
Member Since:Jul 2019
Last Seen:Oct 2023
Profiles:
Following:8
Followers:8
Allies:8
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (5)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • David Gildour
    • resolved a suggestion on "Mirror, mirror, on the wall..." kata
    • 5 years ago

    Thanks!

  • Custom User Avatar
    • David Gildour
    • commented on ""Mirror, mirror, on the wall..." Go Translation"
    • 5 years ago

    It's the same for every language now, I think people will get it that we are using slices in Go, so don't worry about it. Test cases looks good now, approved, thanks.

  • Custom User Avatar
    • ItsEasy322
    • commented on ""Mirror, mirror, on the wall..." Go Translation"
    • 5 years ago

    Fixed, sorry for these mistakes. Mutation should be tested now, also copied your tests, grouped by length 10, 100, 1000, 10000.
    Want to ask, do kata description is same on every language? Because if it isn't, maybe it's better to name lists as Go slices.

  • Custom User Avatar
    • David Gildour
    • commented on ""Mirror, mirror, on the wall..." Go Translation"
    • 5 years ago

    I have two issues with your translation - first of all, include the tests for input mutation - arrays/slices in Go are mutable, so to be consistent with the description, the tests need to include that. Secondly, I feel like your random tests are a bit too random, since you are just running 20 randomly sized arrays with random elements. It is totally possible to produce a test suite with 20 arrays of sizes not exceeding 50. Not likely, but probable. Try to make it so there's at least one test for big arrays (10000 elements). I know that this kata is really easy, but testing should always be exhaustive.

  • Custom User Avatar
    • ItsEasy322
    • created a suggestion for "Mirror, mirror, on the wall..." kata
    • 5 years ago

    Go (Golang) translation.
    My first translation, i hope it's okay xd

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...