• + 6 comments

    Bad problem description for Clojure.

    Description states to copy template and fill blank: (fn[n]___________________________)

    But prepared caller part of solution is (hello_word_n_times n) and is not editable. It will not compile if one copies template and fills blanks. Temlate must be (defn hello_word_n_times [n]___________________________) or (def hello_word_n_times (fn[n]___________________________)).

    BTW, there's also a misspelling in calling part that cannot be edited: word instead of wor**l**d.

    I'm starting to suspect, that guys from Hackerrank do not really like Clojurists) Another surprise waiting Hackerrank student on his way of learning FP in Clojure is when his tested and submitted solution will fail with compile error. That's most likely because of version mismatch. Described environment is Clojure 1.9 and that is what anyone expects, but in reality it is ancient Clojure 1.6.