8 kyu
Jenny's secret message
52,564 of 112,127bkaes
Loading description...
Debugging
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.
This is literally my favorite Training Shoutout to bkaes for creating this
Thanks
Simple and useful.
It's very easy you just give it a time to think!
This comment has been hidden.
This comment has been hidden.
PHP: update to 8.0
Approved
tf is this hhhahh
GO fix: add non-working code to sample solution like in other translations
Approved
This comment has been hidden.
Kata author hasn't been around for a while, so I've fixed it in a fork here:
https://www.codewars.com/kumite/64d19fa7e58c0e0741860b13?sel=64d19fa7e58c0e0741860b13
Would appreciate if someone could review and approve.
Approved.
This comment has been hidden.
Yep, and this is actually an issue... I'll raise one right now.
it's haaaaaaaaaaaaaaaaaaaaaaaaaard
This comment has been hidden.
Please, put spoiler tag when posting your code. I've already put it on this one.
"tag"-> "flag" ;)Clever task. At first I could not understand why it was not working, but as soon as I copied it in the IDE it highlighted that the code is unreachable :D
Heads up, the solution is given for free when you click 'begin training'.
This is a debugging kata where the goal is to fix the incorrect initial code. This is intended and not a kata issue.
Free honor
Clever
I think Jenny is cheating with him :P
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )This comment has been hidden.
Due to its narrative, this kata is super intersting and fun to complete. Well done!
Nice little debug kata, I appreciate it.
This comment has been hidden.
Not a kata issue, read the error message:
Please read this: https://docs.codewars.com/training/troubleshooting
This comment has been hidden.
Well, what have you tried?
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
I think you'd rather include random tests (I know you're experienced with that ;) ). True there are those old katas missing random tests but since then it has become a requisite and I think it's better not to continue old bad habits.
This comment has been hidden.
Thanks :)
Elixir translation. w\ random tests
Approved, thanks :)
This comment has been hidden.
Please dont spoil solutions. Everyone can do whatever he wants, with the method he prefers; moreover this kata exists in more than 10 languages, your message is pointless.
No random tests in all languages
This comment has been hidden.
Not like it at all! A description is a fuzz and puff.
It's easy, but you should get it!
Well done, enjoyed doing this one - the cute story makes it memorable!
This comment has been hidden.
This comment has been hidden.
i don't quite understand the requirments for this Kata. What is the expected result here?
This was so vague I couldn't even start it.
The code provided as an example in Rust is just terrible. It's not just correcting a mistake, it's really rewriting everything. I don't know if it's the case in other languages.
Can somebody explain to me why i need an explicit return in rust for this to work? Thought "hello" without ; and return "hello"; is same
This is not an issue, as the kata/the tests aren't broken.
That being said
return "hello";
and"hello"
are the same if they are used as the last expression. However, could it be that"hello"
isn't the last expression in your code?Please post your code in a comment and mark it as having spoiler content.
This comment has been hidden.
TypeScript translation kumited. Please, review / approve it! :)
It doesn't treat Johnny a bit more special. Might want to fix the last test.
What if another people has the same name? 尴尬!
She actually loves all Johnnies... :D
Shell translation added. :)
Guess it was accepted. :]
C translation kumited. :)
I enjoyed this straightforward kata. It was just the gentle brain massage that I needed. Cheers!
Love this. Simple, great for begginers, gj.
Jenny <3 Johnny
Should ideally have random test cases as well as fixed ones, keep that in mind when authoring future Kata. Other than that, good Kata :)
Random tests for a level 8 kata are an overkill, especially if it's only about syntactical errors. I still did them in Haskell, though. Almost all my other katas have random tests (except for some translations I didn't approve).
Also, if you want to have random tests, you should probably add a suggestion to the kata author, either with a code example (e.g. "this is how your random tests could look like: ...") or a link to a tutorial.
This comment has been hidden.
Good example of return statements and codeflow for bigginers. I Like :-)
Needs a test case where name contains 'Johnny' as a substring
A user consists of only a single word/name, and I don't know any name that has
"Johnny"
as prefix or suffix. That being said, katas with 500+ solutions cannot get changed at the moment, see https://github.com/Codewars/codewars.com/issues/123.This comment has been hidden.
Even if one would prevent substitution, one cannot prevent all bad practice solutions. If you find one, comment on the solution itself and point out how it's bad practice.
That being said, the Java variant is different from the others. I have no idea who translated it, but (s)he missed the point of the kata. Fixed the initial solution so that it fits the other languages.
I agree with 8kyu. Simple enought to understand returns and workflow.
Nice tricky one. 8 kyu is an accurate rating.
This comment has been hidden.
An "Unknown Error" is an error by the Codewars plattform. Submit your result, and reload the submission editor with a complete page refresh (depending on your OS/browser ctrl+shift+r, shift+F5 or another combination). HTH
This comment has been hidden.
Hm, apparently they were saved, but the editor got unresponsive. -> Bug report.
Ruby pre-made cose also misses the exclamation marks and I noticed little love for the Python version, missing even test cases :D
Nice little kata, anyway :)
Fixed.
I would love to fix that, but… "Submission timeouts". :/
There's syntax error
:
in Ruby example code.Whoops, I think that's from the initial Python copy. Sorry. Fixed.