Ad
  • Default User Avatar

    lol, ya i've noticed there are a handful of really difficult kata 7's it would be nice if there were some easier ones to help us along and develop skills

  • Default User Avatar

    this seems pretty advanced for a 7 kata would be nice if there were more hints for those new to node and how to go about solving this kata.

  • Default User Avatar

    thanks but why if (!Singleton.a) , why not just define the property without the if statement.

  • Default User Avatar

    I feel like coding and solving problems with code in general has a very steep learning curve. Many times I have a vague idea of how to solve a problem but have no idea what methods to use or how to start. I think it would be very helpful for beginers, to have a "hint" or "help" feature so that we can still solve it ourselves and think through the problem but just have maybe a hint with a link or the name of a method or 2 that could be used to solve a problem. It gets very difficult to find kata to solve for the beginner/ novice and it would be really cool to have a way to allow them to solve with just a couple hints to make things a little easier until our novice minds develop a knowledge base of methods and techniques.

  • Default User Avatar

    thanks that was throwing me off i thought i had to code for that. Either way it was fairly simple but I enjoyed the kata. Thanks.

  • Default User Avatar

    how does this handle division by 0? Does it return NaN by default?

  • Default User Avatar

    can someone please explain how this works?I dont see what the first line is doing.

    why are you setting Singleton.a = this? And what is the purpose of this property a?

    Please explain, thanks.

  • Default User Avatar

    wow this is really a kyu 8? I mean really guys? Seriously?

  • Default User Avatar

    why can't we just do:

    var Foo = function(value){
    this.val=value
    return this.valueOf(this.val)
    }

    or something like that?

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    probably just copy and pasted from a website.

  • Default User Avatar

    oh you know what, I realized it would work. My mistake! ;)

  • Default User Avatar

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

  • Default User Avatar

    can you expand on this point please. Do you mean since hes passing the nums to calculate function they are within scope so he only has to do function(num1,num2) instead of x,y?

  • Loading more items...