Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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
The example in the description is badly formatted.
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
You must return an object, this is similar to Python's dictionaries. Look at the test cases.
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
The tests should use
assertDeepEquals
instead ofassertSimilar
. And the whole suite should be rewritten to usechai
instead of the old test framework.This comment is hidden because it contains spoiler information about the solution
Nice kata! Now I'm hungry...
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!
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!)
OK, it's great now! :)
Fine, it works
Okay thank you, I added a note at the bottom that any letters may be used.
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!
Hi Tasnim, hopefully my changes made this a little clearer! Thank you for your comment.
Loading more items...