Draft
[Code Golf] Shady Calculator
Loading description...
Mathematics
Restricted
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.
Hi,
This kind of kata is mostly doomed, especially in dynamic languages, like python, js or ruby, which are way too much flexible. I don't think you should keep this one published.
Cheers
How do people limit this in other code golf katas?
I will keep it open for now to see if I could find a reliable way to restrict. Will probably close later because people are not liking it
I wonder whether it is possible to still break it
Good old cheat: cheat
A variation of my first one: variation
Python gives a LOT of way to do that.
We've already tried a lot to enforce this kind of things. In those languages it's close to impossible and at some point:
Well, that is unfortunate. Thanks for the information tho. I will avoid making kata tasks that require creating already existing functions. Probably will specialize in math katas, as they are harder to cheat
You forgot to forbid that one: cheat
Needs
restricted
tagWhat the author intended for the kata is a duplicate to katas such as https://www.codewars.com/kata/584d618d52ee401a82000a05.
In any case, this solution exists and I think it's in the author's interest to patch this.
This comment has been hidden.
Either way I am going to add this kata you pointed to the description as a kata with less constraints that the person should try completing before