Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
PHP 8.0 support
Description should be language-agnostic
Java translation(author inactive)
Correct me if I'm wrong but I think the description does not describe at all the actual task. With Hello World! :
-> '!dlroW olleH'
Last character in the original is ! (if we consider punctuation marks as, the description states; otherwise it would be d )
so -> 'dlroW olleH!' or '!lroW olleHd'
Why do you refer to words ? Why and how should we consider words? It's not question about words in the previous instructions.
If punctuation mark has to be counted as part of the world, why isn't it reversed just like the word itself?
How can we get lleHo dlroW! following those instructions ?
I would add at least tuples.
Like you said yourself is this kata inspired by myjinxin2015 "Basic data types"-katas. You should have added a translation for Python instead off duplicating the whole thing.
Juste a suggestion, maybe add other data types tuples and sets
Not so good tests :)
Sample test should instantiate the class or the initial function should be made static.
Nice job for your first kata. I would suggest more test cases to optimize the testing. I also would take a quick look at the kata details/instructions. They are worded with a bit of ambiguity in terms of where the exclamation should go. I had to look at the assertion in the sample test case to make sure what to submit.
A tad more interesting than the previous in the series, but again too primitive. There are plenty of other types that do not get as much coverage, but still are useful like Arrays (numpy), Tuples, doubles etc which could very easily be introduced too, or at least added for more variety.
Write your Katas just like you'd want to see them!
"My First Kata" in the title isn't really necessary, and neither is the apology at the start, as someone already pointed out.
Also, even though it's unlikely that someone would hardcode a simple Kata like this one, you should still add some random tests to prevent that. If you're just starting out, I'd be happy to help you out. :)
Do not apologize is is your first kata! Also I do not know the name Toom, could we use Tom instead?
I saw in the feed that you also published another kata in the series. I would suggest linking them all to each other for easier access :)
The solution shall assert if the input is a string or not
Loading more items...