• 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
pedantech Avatar
Name:Dan Erikson
Clan:Unknown
Member Since:Feb 2014
Last Seen:Mar 2025
Profiles:
Following:0
Followers:3
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (55)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Erl
    • commented on "Multiples of 3 or 5" ruby solution
    • 9 months ago

    Does not work properly when a negative number is given

  • Custom User Avatar
    • DrJamesCoates
    • commented on "Multiples of 3 or 5" ruby solution
    • 4 years ago

    You could also do (0...number) instead of (1...number)

  • Custom User Avatar
    • arhussain
    • commented on "Jaden Casing Strings" ruby solution
    • 4 years ago

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

  • Custom User Avatar
    • jbrunjes
    • commented on "Multiples of 3 or 5" ruby solution
    • 4 years ago

    Interesting! I was not aware of the range syntax with 3 dots, where 1...n exludes the end of the range.

  • Custom User Avatar
    • fizvlad
    • commented on "Multiples of 3 or 5" ruby solution
    • 6 years ago

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

  • Custom User Avatar
    • Hakeemmidan
    • commented on "Multiples of 3 or 5" ruby solution
    • 7 years ago

    O my love. So beautiful

  • Custom User Avatar
    • topfeng
    • commented on "Multiples of 3 or 5" ruby solution
    • 7 years ago

    short and pithy,easy to read

  • Custom User Avatar
    • carolineschnapp
    • commented on "Jaden Casing Strings" ruby solution
    • 7 years ago

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

  • Custom User Avatar
    • JohanWiltink
    • commented on "Last" haskell solution
    • 8 years ago

    last is O(n) anyway, so whether that's in reverse or in something else doesn't really matter.

    (If I'm wrong, please call me on it.)

  • Custom User Avatar
    • JeffBusterCase
    • commented on "Jaden Casing Strings" ruby solution
    • 9 years ago

    lol forget that already its self xD

  • Custom User Avatar
    • bestwebua
    • commented on "Jaden Casing Strings" ruby solution
    • 9 years ago

    I am of the same opinion :)

  • Custom User Avatar
    • czeise
    • commented on "Jaden Casing Strings" ruby solution
    • 10 years ago

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

  • Custom User Avatar
    • Vaeth
    • commented on "Re-open class" ruby solution
    • 10 years ago

    I believe that without self it would not know what iterable object it was iterating over.

  • Custom User Avatar
    • CerrilloMedia
    • commented on "Re-open class" ruby solution
    • 10 years ago

    So without specifying 'self' it just forwards it to the existing upcase method?

  • Custom User Avatar
    • am-
    • commented on "Last" haskell solution
    • 10 years ago

    The entire list is not reversed due to laziness. Unfortunately, I cannot assess to what extent the optimizer discards the overhead...

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...