Beta
Longest element
Loading description...
Strings
Fundamentals
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.
Still lacks novelty.
The issue below is still present.
Please do not re-raise this issue. You do not like the kata. This is not an issue. You may vote on your satisfaction here, but don't raise this as an issue.
This kata lacks novelty of idea.
not an issue. This is a simple kata by design.
This is not a reason to spam duplicates. And yes, your kata is a duplicate of this task - not identical but close enough.
This is not spamming duplicates. This kata was written in October 2017, when there were only a handful of R kata on codewars. The task is particular to the structure of objects in R, which is why I did not translate it. I brought it up in gitter before creating it, and whether this was of benefit was discussed. The consensus was that adding this to the available R kata was beneficial.
Then you should have done something more R-specific than "filter out any strings which are shorter than the longest string in the vector" which can be solved just as easy in almost any other language which CW supports - sorry, but your point makes no sense.
Then those people are bad people, and you should not listen to them. Like it or not, but my point still stands: this kata is the same as this kata (unless you're going to say that a trivial for loop and an if statement are a game-changer, but that would mean justifying the creation of "new" katas by adding zero meaningful requirements to make it "different" from something we already have; and you wouldn't do something that dumb, would you?).
I'm not sure what "more R-specific" would mean. I could write something more complex, and I have. This particular kata, however, has a couple of specific, simple learning objectives. It was not written to "make it different" from the other kata (which I don't believe was even out of beta when I wrote this kata), but to demonstrate some fundamental concepts about the R language. The proposed duplicate does not require any demonstration of how to subset a vector, which is one of the two learning objectives here. Since I think there is utility in having an even simpler kata, an R translation there could be proposed and would add something to the available R kata as well. I invite you to do that if you'd like. Considering we still have fewer than 300 R kata available, I think that would be productive. It seems we have a disagreement about the value of having a range of kata, from the simple to the complex. I understand your point of view, but I strongly disagree with it.