Draft

99 Problems, #5: reversing a list

33 of 234spencerwi
Description
Loading description...
Lists
Fundamentals
View
AllIssues3QuestionsSuggestions1Show Resolved
  • Please sign in or sign up to leave a comment.
  • Sm1l3z Avatar

    This comment has been hidden.

  • neilm Avatar

    This comment has been hidden.

  • KenDev Avatar

    The text given should be:

    let rec reverse = (YOUR CODE HERE)

  • Unnamed Avatar
    • AcesOfGlory Avatar

      Concept is the same but the description states without using any built-in reverse functions. plus the fact it's coded in two different and very new languages - I've never used F# or OCaml before.

      I think the author should actually give the credit to the source of this entire series https://ocaml.org/learn/tutorials/99problems.html though.

    • Unnamed Avatar

      I didn't notice the other kata doesn't state that in the description but reversing functions are removed there. I like new languages too but I don't think it changes anything. There are translations, and translations to new languages are getting approved quickly, and katas with new translations appear in the top of the list.

    • suic Avatar

      @Unnamed: Please, don't take this personally. You're the first who came with "duplication comments" but as I know there are few others who could have done this.

      Duplication Inquisition in action (lol) (I've expected these duplication comments :))

      Yes, there are translations, but:

      translations to new languages are getting approved quickly

      I have two translations which have been waiting for approval for 4 months

      and katas with new translations appear in the top of the list

      But they first need to be approved.

      Don't forget that to create a translation, one actually has to solve the kata first. Why should one bother himself with solving a kata in JS, Python or whatever language if he only wants to create a F#, Haskell (or whatever) translation. And also, what if one knows one language? He shouldn't create a new kata because he doesn't know another language etc. (I've asked this already and got an answer but I still can't agree with this approach.)

      Other thing is that one doesn't know if there's a published but not approved translation before he solves the kata...

      The very last thing: I can't understand why people solve duplicate katas and then complain about duplication.

      Regards,

      suic

    • smile67 Avatar

      The "very last thing..." is easy to explain and surely you know it... 3 points for nothing and if it gets "Draft" nobody else can get;-)

    • Unnamed Avatar

      Anyway, I don't mind if these issues get closed, it's just for those who come to approve to be aware.

    • suic Avatar

      @smile: I know. The solving part makes perfect sense :) But then why to complian about duplication. (This isn't a real question.) :) Normally, no action is taken when someone identifies a duplicate.

      @Unnamed: I forgot to mention one positive side effect. These comments shows which duplicate one hasn't solved yet ergo even more easy points :)

      All I wanted was to use the term "Duplication Inquisition" :) and pointing out the difficulties of translations. For me this debate is finished.

      Regards,

      suic

    • matt c Avatar

      Duplicate katas do get handled, I've personally commented about duplicates on katas that have then been removed because of the obvious duplication. If you really want to create the same kata but in a different language you must use translations because multiple katas with the same specifications end up having the same languages translated for them making the second kata basically free points which is unjust because it is a duplication. If you really want to translate a kata you should go to the effort to solve it in the languages given. It's a great excuse to learn a new language one that no one should pass up, if that's too hard then forfit the kata and create a translation, duplicate katas are a problem because points are awarded unfairly and it is a problem that should probably be addressed more formaly. :)

  • Unnamed Avatar

    I get

    File "(stdin)", line 11, characters 54-56:
    Error: Syntax error: ')' expected
    File "(stdin)", line 11, characters 48-49:
    Error: This '(' might be unmatched
    

    in OCaml (with any solution).