Ad
  • Default User Avatar

    The description is misleading:

    "The MxN board is given" but the examples show, that the first value (n) is number of rows.

  • Default User Avatar

    My attempt gives me "Passed: 97 Failed: 1 Errors: 1"

    My problem is, that I am unable to find the problematic testcase, since all testcases shown in the output say "Test passed". Even when I return wrong results, there is still 1 error, which I can't locate.

    Any hints?

  • Default User Avatar

    I have to apologize ... :-(

    Good kata!

  • Default User Avatar

    Since the specification of the function says "remove the last element", but you expect an array with eight elements when you input a ten element array, I know why the random tests fail.

    So, what's the goal of this kata? Expect that your costomer doesn't know what he really wants?

  • Default User Avatar

    Bad Javascript kata!

    integer_list should not be given as parameter but via the this reference.

  • Default User Avatar

    thumb up!

  • 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

    I strongly support this suggestion!

    Since LISP (as practical implementation of the lambda calculus) is one of the foundations of programming, there should be a member of the LISP family available here. Scheme is in my opinion the best language to select because there exists with "Structure and Interpretation of Computer Programs" (short SICP) an excellent introduction.

  • Default User Avatar

    No need to use this syntactic sugar ... Javascript hasn't got classical inheritance.

  • Default User Avatar

    This kata should be deleted. There is no need to use syntactical sugar to make things more complicated ... except for uneducated Java coders.

  • Default User Avatar

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

  • Default User Avatar

    You are comparing really different worlds here: Java is a procedural language with class based inheritance, whereas Javascript is a functional language with prototype based inheritance, hidden under a C-like syntax. The last thing made wide scale adoption of the language easy, but confuses all those Java coders.

    Since Javascript looks like a procedural language, and offers all those syntax elements, it sure must be a procedural language, like e.g. Java. And then all those OOP stuff is clearly missing.

    Except this is totally wrong. You really should start learning functional programming. Most of the design patterns, which where defined for organizing procedural code, are simply not needed in a functional language. There are almost always better solution. And the power of the prototypal inheritance is shown, when it is easily possible to emulate classical inheritance. Can you emulate prototypal inheritance in Java as easily?

    A good read: http://steve-yegge.blogspot.de/2006/03/execution-in-kingdom-of-nouns.html

  • Default User Avatar

    The Javascript version of this kata should be deleted!

    Javascript isn't Java, not even a classical language. So, when there are no classes, and instances of classes, but only objects, what use is the singleton pattern? When you need only a single object with certain properties, then only create one.

  • Default User Avatar

    Adding "class" to Javascript was a horrible mistake!

    Will these ignorant Java coders ever learn, that there languages without classical inheritance?

  • Loading more items...