7 kyu

Coding Meetup #17 - Higher-Order Functions Series - Sort by programming language

620 of 2,153PiotrBerebecki
Description
Loading description...
Functional Programming
Data Structures
Arrays
Fundamentals
Algorithms
Sorting
View
AllIssues2QuestionsSuggestions3Show Resolved
  • Please sign in or sign up to leave a comment.
  • mahmud035 Avatar

    After solving all 17 problems, I must say it was enjoyable, interesting, and straightforward. Thank you so much!

  • normnXT Avatar

    Piotr, I just finished all of your coding meet up katas that are available in Python. I was looking to improve my skills with dictionaries and list comprehensions and this was a fantastic set of problems, all very well described and thought out.

    Thank you for your work! I will definitely revisit for JavaScript.

  • goldenratio161 Avatar

    the debugging is extremely tedious. good kata tho

  • saudiGuy Avatar

    python new test framework is required. updated in this fork

  • S2lyaQ Avatar

    Thank you very much for this series! With this occasion, I polished my JavaScript skills and I think I am ready to approach more difficult katas. Greeeeeeat lesson! :D

  • rodolforippln Avatar

    This comment has been hidden.

  • Radleys Avatar

    Thank you for series! Had fun time solving it:)

  • user9644768 Avatar

    Ruby 3.0 should be enabled.

  • KatyaBarta Avatar

    Thank you so much, that was a really fun series! Straightforward but useful!

  • cliffstamp Avatar

    If you had these in a collection, it would be nice.

  • kkavita92 Avatar

    In Ruby version:

    1. Examples indicate firstName as key while test cases use first_name. Potentially confusing.
    2. Also remove var in description.
  • GavinStark Avatar

    Your examples in the "input" section appear to be from the JavasScript version of this kata (given the use of var) and would lead someone to believe you are using symbols as your keys. For example: { firstName: 'Nikau', lastName: 'R.', country: 'New Zealand', continent: 'Oceania', age: 39, language: 'Ruby' }

    In case you are not familiar with this style of litereal hash formatting, this is the same as: { :firstName => 'Nikau', :lastName => 'R.', :country => 'New Zealand', :continent => 'Oceania', :age => 39, :language => 'Ruby' }

    However your test cases use String keys and snake case for the keys. Example: { "first_name" => "Nikau", "last_name" => 'R.', "country" => "New Zealand", "continent" => "Oceania", "age" => 39, "language" => "Ruby" }

    If you were not intending on having the kata practice handling both Symbol and String keys (as well as the different cases) then you should update the input to follow the expected keys. The description says that the test cases will follow exactly the form shown.

  • toasterbob Avatar

    keys are shown as symbols in the instuctions but are string in the ruby solution.

  • GiacomoSorbi Avatar

    Python, Ruby and Crystal translations kumited.

  • damjan Avatar

    Minor typo: Piotr's language is set to Javascript instead of JavaScript.