Draft
a
10rt-hawk
Loading description...
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Why exactly "a"? What should we do in this case? In the last paragraph, it is also called a. What should be the result in the code we wrote?
The kata is nice. I voted for 6kuy - do you agree?
PS. for some reasons
makeSixLetterCode
still doesn't work butcreateReport
does. Just pick one :)Thanks for looking at this and for the suggestions. Yes - createReport should be in the initial code. I changed that. Try again please. Yes - I made it a 6.
Needs more random tests (3 is not enough). You can put them inside a loop to generate as many random tests as you like, you know.
Also you should format the tests with
Test.describe
andTest.it
so it's clearly which one are fixed tests and which are random tests.The description is a long, hard to grok wall of text. It needs better formatting. Too many information and too flat (just like the test code) to get the key points and not missing anything important.
I edited the tests, added more random tests and the description. I formatted the description better with HTML changes.
fixed
done
Why there is a
,
in"Redhead, 3"
Actually it is
If a name has four words, take the first letters from the first two words, and the first two letters from the last two words.
Thanks for the better wording in the description. Both changed/fixed.
O_o
Thanks. I will take a look.
Can you please try this again, ZED.CWT ?
o_O
.
This is similar to my prevouis Kata "Create Four Letter Birding Codes from Bird Names". But, I think it is different enough where people will find it challenging as there are more things to code for.
I had more to add to this second challenge; but, I thought I'd leave those additional coding challenges for another Kata. While I was working on this one, I came to a point where adding the extra coding got to be very, very challenging just for me. So, I thought I'd leave this Kata as is, and try to come up with another one for those other coding challenges.