• 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
Lambdius Avatar
Name:Daniil
Clan:innotech
Skills:console.log, print, cout
Member Since:Apr 2022
Last Seen:May 2025
Profiles:
Following:24
Followers:52
Allies:6
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (152)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • NoahVale
    • commented on "Multiples of 3 and 5 redux" javascript solution
    • 11 days ago

    Someone golfs

  • Custom User Avatar
    • Hprimer
    • commented on "Who likes it?" javascript solution
    • 4 months ago

    🤯

  • Custom User Avatar
    • Torkel
    • commented on "Who likes it?" javascript solution
    • 10 months ago

    Shorter https://www.codewars.com/kata/reviews/5266876c8f4bf2da9b000365/groups/66bf3ade1baad7bd715acf82

  • Custom User Avatar
    • Lambdius
    • commented on "Who likes it?" javascript solution
    • 12 months ago

    this is js )

  • Custom User Avatar
    • juansie96
    • commented on "Who likes it?" javascript solution
    • 12 months ago

    Insane JS techinical skill level, congratz

  • Custom User Avatar
    • Fenerinyo
    • commented on "Greed is Good" javascript solution
    • 13 months ago

    What in the name of god

  • Custom User Avatar
    • Mikiyas270
    • commented on "Who likes it?" javascript solution
    • 13 months ago

    what even is this?

  • Custom User Avatar
    • dfhwze
    • commented on "One Line Task: What type is it?" kata
    • 2 years ago

    approved at kyu 6

  • Custom User Avatar
    • JohanWiltink
    • commented on "S-functor" kata
    • 2 years ago

    ad 2: but it is not clear from the description if Function anonymous is sfunctor or sfunctor(), which have different behaviours.

  • Custom User Avatar
    • Lambdius
    • commented on "S-functor" kata
    • 2 years ago
    1. I made the call logs as informative as possible
    2. added sfunctor.test to the example description
    3. moved the code from Preloaded
  • Custom User Avatar
    • Lambdius
    • commented on "S-functor" javascript solution
    • 2 years ago

    This is a generally bad example of code, but I like the look of it)

  • Custom User Avatar
    • JohanWiltink
    • commented on "S-functor" javascript solution
    • 2 years ago

    Using undeclared variables is not a best practice. f pollutes the global namespace ( and might be overwritten there ).

  • Custom User Avatar
    • JohanWiltink
    • created an issue for "S-functor" kata
    • 2 years ago

    Example tests are unreadable for solvers. They heavily use Preloaded code, which is not available to solvers, and we have to assume behaviour from names. This is not the intent of example tests.

    Show the Preloaded code in the description, or at least explain what everything does, or move the code into Example tests ( and also into Submit tests, but that's your problem ), or - much preferred - write more readable code in Example tests. Code duplication is not a ( solver ) problem there; example tests are meant to be readable for solvers, and individual tests should preferably be visible in the window in their entirety, without having to scroll to find definitions of factored out code.

  • Custom User Avatar
    • JohanWiltink
    • created an issue for "S-functor" kata
    • 2 years ago

    Example test #2 tests sfunctor.test. From the description, it is not clear that sfunctor.anythingButVal should exist, because it does not yet have state.

    Either only expect sfunctor().anythingButVal to exist, or specify better that sfunctor.anythingButVal uncalled should return either sfunctor() or sfunctor ( and which one, and possibly why ).

    The former option would make more sense IMO.

    The same goes for sfunctor.val - the state is initialised on first call; what is the expected value here, and why? ( I don't know if this is actually tested. )

    Alternatively, sfunctor could immediately have a default state, which might be overwritten normally on first call. But the initial code indicates this is not how things work.

  • Custom User Avatar
    • Lambdius
    • commented on "S-functor" kata
    • 2 years ago

    done

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...