• 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
krausedev Avatar
Name:Derek Krause
Clan:Unknown
Member Since:Jun 2021
Last Seen:Nov 2023
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (21)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • fjspitz
    • commented on "Is he gonna survive?" javascript solution
    • 12 months ago

    Thanks, you're correct!

  • Custom User Avatar
    • krausedev
    • commented on "How good are you really?" csharp solution
    • 2 years ago

    kudos for correcting the parameter casing to pascal

  • Custom User Avatar
    • krausedev
    • commented on "Switch it Up!" csharp solution
    • 2 years ago

    rather than using breaks, just return inside each case. Cleaner, more readable.

  • Custom User Avatar
    • krausedev
    • commented on "Switch it Up!" csharp solution
    • 2 years ago

    default message should read "0-9" right?

  • Custom User Avatar
    • krausedev
    • commented on "Switch it Up!" csharp solution
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Switch it Up!" csharp solution
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • mwnCoding
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

    This is so smart. Thank you for sharing that. Also good point on the effects of sorting for larger arrays

  • Custom User Avatar
    • bobmagrega
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

    If the execution in your if statement is a return, you don't need an else block after it, because the function will not continue to execute once it's returned.

    And with the spread operator, you can now simplify the use of Math.min and Math.max to Math.min(...array) and Math.max(...array), respectively.

  • Custom User Avatar
    • krausedev
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Sum without highest and lowest number" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Is this a triangle?" kata
    • 2 years ago

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

  • Custom User Avatar
    • krausedev
    • commented on "Grasshopper - Grade book" javascript solution
    • 2 years ago

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

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...