Ad
  • Custom User Avatar

    Hello,

    I stand by remarks that:

    I believed that the question was perfectly reasonable and valid
    and
    I did not deserve the condescending reply I received

    For what it is worth to yourself, I have now solved this challenge in JavaScript following your insight

    I shall not be making any further response to this dialogue - and based on the 'keyboard warrior' response I have had to this perfectly reasonable and valid question it is doubtful I will be looking to add any further questions/comments/enquiries to any other challenges of any other users on this website

    I am not on any form of social media - and when I see things like this my philosophy is more than validated

  • Custom User Avatar

    The example in the description is badly formatted.

  • Custom User Avatar

    Hello akar-0,

    I am not appreciative of the comment "this is similar to Python's dictionaries. Look at the test cases." which I have personally taken as being condescending on the basis that most reasonable programmers in JavaScript will know what an Object is from a terminology perspective

    I believed that the question was perfectly reasonable and valid and did not deserve the condescending reply I have received

  • Custom User Avatar

    You must return an object, this is similar to Python's dictionaries. Look at the test cases.

  • Custom User Avatar

    Hello,

    From the challenge description it is not clear in what data format is the expected output meant to be in

    On that basis, I would be very grateful if the challenge author could please advise and/or re-write the challenge so that it is clear to other users

  • Custom User Avatar

    The tests should use assertDeepEquals instead of assertSimilar. And the whole suite should be rewritten to use chai instead of the old test framework.

  • Custom User Avatar

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

  • Custom User Avatar

    Nice kata! Now I'm hungry...

  • Custom User Avatar

    Nice kata! It has a reasonable degree of difficulty for someone getting familiar with reading and creating objects, besides addressing some other useful features like rounding. It seems to have practical application, too!

  • Custom User Avatar

    I found the nitpicky-ness of the float points tough to manage w/ JS rounding, but I worked it out using a replace. Consider accepting 120.0g instead of 120g, or clarifying in instructions (removed as issue and re-posted as comment!)

  • Custom User Avatar

    OK, it's great now! :)

  • Custom User Avatar
  • Custom User Avatar

    Okay thank you, I added a note at the bottom that any letters may be used.

  • Custom User Avatar

    Hey, with my inital solution I hard coded the 'B's and the 'b's as I didn't realise other letters would be used. Maybe make that clear in the kata description? Sorry if you have and I just can't see it!

  • Custom User Avatar

    Hi Tasnim, hopefully my changes made this a little clearer! Thank you for your comment.

  • Loading more items...