Ad
  • Custom User Avatar
  • Default User Avatar
  • Custom User Avatar

    Should I approve your translation? I ask because I cannot see any java translation there.

  • Custom User Avatar

    @Redmega: Aye.


    Still, if a solution of the other kata is a valid solution for this one, they are duplicates of each other.

  • Custom User Avatar

    Water under the bridge. I added the first three test cases (the ones alluded to in the description) as sample tests. Sure, they break the guideline of one assert per test method, but it works thematically.

  • Custom User Avatar

    If you're going to copy the kata, at least include the sample test cases for the user.

    That's a hard accusation. The green glass door is a well known riddle, and the descriptions are entirely different. I just wonder how both of you got the inspiration at the same time…

  • Custom User Avatar
    1. Didn't know the other one existed. And yes, I did a search.

    2. Thought I had added user test cases, I'll fix that in the morning.

  • Custom 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

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

  • Custom User Avatar

    because I think every program includes at least one algorithm.

    Oh, every program is a algorithm, since a program is a unambigously defined sequence of operations (or has undefined behaviour). But not every problem is stated as an algorithm. You can say "Create a ABC!" and check fundamentals for ABC students. Or you can give the complete sequence of steps and therefore also tackle those, that don't know what an ABC is.

    • bugs ("This kata doesn't work. Can you spot why?")
    • puzzles ("In this kata you may use function abc only twice to solve the riddle")
    • fundamentals ("This kata shows you how to use a function")
    • algorithm ("Step 1: ...; Step 2: ...; Step 3: ...; If ready, end. Else go to step 2")

    But my criticism wasn't about the tag, just about the "Fibonacci is basic" ;).

  • Default User Avatar

    Yes it's certainly baseless but if you google Fibonacci you get: About 18,900,000 results... Besides that I don't understand very well the tag "Algorithm" because I think every program includes at least one algorithm.

  • Custom User Avatar

    Fibonaci is a basic for every programmer hence the tag "Fundamentals" is more than sufficient, isn't it?

    That's baseless assumption. I've read many books on programming, and only a very small number of them actually had the Fibonacci function.

  • Default User Avatar

    Codewars writes for the Tag "Algorithms":

    Typically these types of katas involve elaborate specifications.

    This kata doesn't need elaborate specifications, Fibonacci is a basic for every programmer hence the tag "Fundamentals" is more than sufficient, isn't it?:-)

  • Custom User Avatar
  • Loading more items...