7 kyu
Static privacy
278trashy_incel
Loading description...
Debugging
Object-oriented Programming
Refactoring
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 comment has been hidden.
exactly what it says: you are not returning the value of
#foo
, you are always returning42
. In the full tests, the value of#foo
will be changed, so your solution does not work. You must find a way to actually return#foo
also, you're not using a getter. I just added an explicit test for that; you can see it in the sample tests
Hi,
Cheers
done
should be tagged with
refactoring
isn't that rather a "bug fix"? (I guess the related tag also exists?)
There is the tag
debugging
for bugfixes.Refactoring
is also one of the five categories you can classify a kata as in the editor (Algorithms, Fundamentals, Bugfixes, Puzzles, Refactoring)