• 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
Pamblam Avatar
Name:Rob Parham
Clan:Our Town America
Member Since:Feb 2018
Last Seen:Jan 2019
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (26)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • slaving
    • created an issue for "Slow Looping" kata
    • 3 years ago

    Expected update of "last" value, that's why waiting test doesn't work properly.

  • Custom User Avatar
    • nachobibian
    • created a suggestion for "Slow Looping" kata
    • 5 years ago

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

  • Custom User Avatar
    • Unnamed
    • commented on "Slow Looping" kata
    • 7 years ago

    It would make more sense for iteration function (callback function) to return a promise instead of accepting a callback argument.
    Or, on the other hand, slowLoop could accept a callback instead of returning a promise.

    Yes, that's what I mean.

  • Custom User Avatar
    • asmgf
    • commented on "Slow Looping" kata
    • 7 years ago

    @Pamblam, I think he talks about consistency.
    It would make more sense for iteration function (callback function) to return a promise instead of accepting a callback argument.
    Or, on the other hand, slowLoop could accept a callback instead of returning a promise.

    promises are basically useless without at the very least a "then" callback.

    What about async functions?

  • Custom User Avatar
    • Pamblam
    • commented on "Slow Looping" kata
    • 7 years ago

    promises use callbacks. promises are basically useless without at the very least a "then" callback. not sure what your problem is.

  • Custom User Avatar
    • Pamblam
    • commented on "Battleship field validator" kata
    • 7 years ago

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

  • Custom User Avatar
    • Chrono79
    • commented on "Weight for weight" kata
    • 7 years ago

    You're welcome.

  • Custom User Avatar
    • g964
    • commented on "Weight for weight" kata
    • 7 years ago

    @Chrono79: thanks for all your answers!

  • Custom User Avatar
    • Chrono79
    • commented on "Weight for weight" kata
    • 7 years ago

    Yes, that's why 11 comes before 2000.

  • Custom User Avatar
    • Welblaud
    • commented on "Weight for weight" kata
    • 7 years ago

    Oh, I have passed! It was a bit difficult :) The only thing I don’t understand to is why the second expected test result is "11 11 2000 10003 22 123 1234000 44444444 9999"? Isn’t "2000" bigger than "11" in the case of strings? Similar to "10003 22"?

  • Custom User Avatar
    • Unnamed
    • created a suggestion for "Slow Looping" kata
    • 7 years ago

    Returning errors should probably be tested too.

  • Custom User Avatar
    • Unnamed
    • created an issue for "Slow Looping" kata
    • 7 years ago

    https://www.codewars.com/kata/reviews/5a8cf0cc6e3b30d630000575/groups/5a8d37e46c083ceede00066c
    Asynchronous things should be tested with a timeout in describe:
    https://www.codewars.com/kumite/59f4abb427402f96e8000051?sel=59f9e16ac374cbf19a00007e

  • Custom User Avatar
    • Unnamed
    • commented on "Slow Looping" kata
    • 7 years ago

    Why even mix callbacks with promises?

  • Custom User Avatar
    • Voile
    • commented on "Slow Looping" kata
    • 7 years ago

    It's not fixed yet:

    https://www.codewars.com/kata/reviews/5a8cf0cc6e3b30d630000575/groups/5a8d0afc6e3b30c2d9001d26

  • Custom User Avatar
    • Voile
    • commented on "Slow Looping" kata
    • 7 years ago

    You still need to fix the message strings of the test assertions.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...