6 kyu
FIXME: Hello
433 of 2,540dinglemouse
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.
Sample tests (in Python) are too easy, delaying all the good stuff for the real tests. We could use one that sets the same attribute twice, for example.
Actually, I prefer for people to think they have a good solution after passing the sample tests only be to shocked that their solution is not complete at all. IMO it gives a good lesson to take more care to read the kata requirements carefully and not be too hasty in thinking you are finished without considering edge cases.
I see there are some sadists on the CW?)
C:
typedef
of an incomplete type is not done properly: is not standard C (empty structures are forbidden). The correct way to refer to an incomplete type is by virtue of a forward declaration:fork fixing both
Approved. Thanks!
How is this debugging? The code is completely incorrect and simply does something else.
Not so easy, not so tough - Perfect Kata Thank u!
Very nice kata, well done.
What will I do I don't know about sorting to information on result.
I didn't understand description.
Can someone give me some detail?
age
thenname
So expected result is:
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
C has compiler warnings in testcode.
Fixed in list of C katas to update
C# Translation added.Please review and approve~
Approved :-)
This comment has been hidden.
Try here https://gitter.im/Codewars/codewars.com/kata-solving-help
thanks
I selected this kata by mistake not realizing it isn't for the C# language. How can I remove it from my unfinished kata?
The only way to remove it, is finishing it.
@dinglemouse, C translation available.
Approved. Thanks :-)
@dinglemouse, C++ and JavaScript translations available.
Both approved. Thanks :-)
Kotlin translation
Approved. Sorry it took such a long time. I missed your comment.
QAQ your solutions are too powerful...
Approved ;-)
Are you sure this is a
bugfix
? Because we pretty much have to rewrite it from scratch for this one.Yeah, I know... this one is more like a "bug" introduced by a spec change rather than a fault of the original code.
Imagine if the original callers always set all attributes one time only. In those simple case everything worked OK as-is.
Now somebody came along and added additional requirements to the specification, which then caused previously working code to break (not always but sometimes) so from that POV a code "fix" is required.
There was a problem with the python version?
@B4B - your comment is misplaced. No. There was no problem with Python version. Your translation was good as usual. Just someone fixed a typo in my description and so I got a merge error approving it. Why do people keep trying to fix things for active authors? All it did was cause a damn hassle.
Python translation! :)
Note: I changed a little bit the random tests so that they can generate more easily shorter strings.
Approved :-)
@dinglemouse Are you sure it is approved?
Now it is. My previous approval failed and I did not notice because somebody edited my description. (Grrr).