• Sign Up
  • Kata
  • Kumite
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:goldmund
Clan:Unknown
Member Since:Mar 2019
Last Seen:Dec 2020
Profiles:
Following:1
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (16)
  • Replies
  • Authored
  • Needs Resolution
    • exbotanical
    • commented on "WeIrD StRiNg CaSe" kata

    Yeah, but the author should clarify this in the prompt..

    • exbotanical
    • commented on "Promises Made and Broken: The Misadventures of Bob the Highly Paid Consultant" javascript solution

    I agree in that async/await is cleaner (IMO) than chaining Promises.

    As an aside for the curious, one can await Promise.all for parallel execution and use destructuring to pull return values, assuming you're OK with the inherent fail-fast behavior.

    e.g.
    const [resOne, resTwo] = await Promise.all([ asyncOne(), asyncTwo(), ]);

    • exbotanical
    • created a suggestion for "What's the Highest Number?" kata

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

    • mr.zh6
    • commented on "How many numbers III?" python solution

    I had a timeout error with this kind os solution...

    • ShrewdStyle
    • commented on "Returning Strings" python solution

    click the drop down at the top of the kata and you can select the version

    • REEEEEEE
    • commented on "How many numbers III?" python solution

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

    • Blind4Basics
    • commented on "How many numbers III?" python solution

    because it's not a list. Look at the documentation of the fonction generating it.

    • REEEEEEE
    • commented on "How many numbers III?" python solution

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

    • exbotanical
    • commented on "Hex to Decimal" javascript solution

    The other great thing about looking at other solutions is seeing cool logic like this when you used parseInt :-)

    • exbotanical
    • commented on "Calculate BMI" javascript solution

    I agree re: the switch. There was a great S.O. post about this where someone actually took the time to calculate the performance of a forced switch across all browsers and found that it was 6x to 40x slower than the fastest solution (fastest was if-immediate) in all tested environments (pretty much every browser).

    That said, my solution was a forced switch much like this one. I just wanted to use a switch statement because I seldom get to use them and was beginning to forget the syntax :-)

    • ThomasMrY
    • commented on "How many numbers III?" python solution

    It's so fast!!

    • exbotanical
    • commented on "Sum of Multiples" kata

    Likewise with Python. This wasn't at all an 8 kyu kata. Yes, it's mostly algorithms and critical thinking, but I feel like this level of critical thinking is developed as one becomes more adept at coding (thus, should be a higher difficulty).

    • jundymek
    • commented on "Returning Strings" python solution

    As JStegg wrote - f string is available in python >= 3.6. It is new feature (great in my opinion;)). You can choose python version for almost every kata on codewars.

    • exbotanical
    • commented on "Returning Strings" python solution

    I gotcha; thanks. I didn't realize we could use different versions on here (do we import them or something)? I'm not sure how all that works - I'm still in the initial learning phases, so please excuse the ignorance!

    • JStegg
    • commented on "Returning Strings" python solution

    You need to use 3.6

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm