• 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
dgrcode Avatar
Name:Daniel
Clan:Unknown
Member Since:Jul 2016
Last Seen:Oct 2021
Profiles:
Following:149
Followers:147
Allies:147
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (13)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • msachi
    • commented on "Molecule to atoms" javascript solution
    • 9 years ago

    Ah, cheers! I'm not sure it's the most efficient one, but I think it's neat :p

  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Molecule to atoms" javascript solution
    • 9 years ago

    Glad you liked it :)

  • Custom User Avatar
    • limeyb7
    • commented on "Measuring Average Speed" javascript solution
    • 9 years ago

    Hey, thanks :)
    I've been using !!a lot recently - it's just a nice short alternative to writing out === true

  • Custom User Avatar
    • smile67
    • commented on "Prime in Nature: The Cicada" javascript solution
    • 9 years ago

    No problem, so if you have questions (and i'm able to give an answer)... ;-)

  • Custom User Avatar
    • denesnori
    • commented on "Make the small words big!" javascript solution
    • 9 years ago

    Thanks to your tutorial :).

  • Custom User Avatar
    • smile67
    • commented on "Prime in Nature: The Cicada" javascript solution
    • 9 years ago

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

  • Custom User Avatar
    • smile67
    • commented on "Prime in Nature: The Cicada" javascript solution
    • 9 years ago

    Hi again;-), there are different ways to floor a number, this is one way (for example "~~" another). It's not the same as Math.floor, but here it works. It's a "bitwise or" which cuts the part behind the "." and so it gets the integer part of these small and positive numbers here...

  • Custom User Avatar
    • smile67
    • commented on "Measuring Average Speed" javascript solution
    • 9 years ago

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

  • Custom User Avatar
    • denesnori
    • commented on "The Supermarket Queue" javascript solution
    • 9 years ago

    Thanks for your advice. I will use Infinity from now. :)

  • Custom User Avatar
    • smile67
    • commented on "Number encrypting: cypher" javascript solution
    • 9 years ago

    Yes... it's not always necessary to use an object/dictionary;-)... Surely normally it's not efficient (indexOf works in O(n)), but short and simple for this really simple kata:-)...

  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Pete's inappropriate speech" kata
    • 9 years ago

    Well, I hope at least that is the case with all the people I forced to do this kata :D

    Thanks for your feed, cheers!

  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Pete's inappropriate speech" kata
    • 9 years ago

    Glad I taught even a single person something new and good, then :)

  • Custom User Avatar
    • zebulan
    • commented on "Rotate Corners" kata
    • 9 years ago

    @Danoso89,

    I'm glad you liked it, thanks for the feedback!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...