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.
I would of course love to solve in
python
as well, however it seems to me that time has passed. This kata is practically 10 years old and now IMHO, it is not 1kuy. Maybe you should just do something based on this task, but heavily refined (I mean a completely new publication)? For example, make it a performance task, add:JOIN
,LEFT JOIN
,RIGHT JOIN
,DISTINCT
,CASE
,EXISTS
.... These are just as examples of what could be implemented and improve this kata.By the way as a performance option, if there will be large data volumes and different sized tables, the right
JOIN
will make a difference. If you do it nicely and add significant differences from this kata, I think it would be a great new kata.p.s. I wonder if anyone has responded on Discord though? What kind of response did you get?
Well I have another pending translation that seems to be lost in the nether because I couldn't convince any Rust people to review it, so I thought I'd have a better chance doing something in Python. xd
I did see the other fork, I'll double check but I'm pretty sure I also fixed that typo (and others) in my translation. I'll spend some more time double checking my random test generator when I get a moment and see if I can find convince someone on the Discord to review this.
You certainly picked an ambitious target for your first translation. I'd suggest getting a thorough review from someone proficient in writing kata in Python, i.e. not me.
Probably needs forking; the description was changed for below solved issue.
Python translation
Implemented random tests to match o2001's implementation as much as possible.
fun kata but it would be more interesting if there was a performance version
This comment is hidden because it contains spoiler information about the solution
Finally made me learn how to use metaclasses, nice kata
Same is as if blank isn't true, except no value is valid too. Saying more would probably spoil the kata, but you might be overthinking it.
This translation is now ready to publish pending review from someone who is competent with Rust
Initial implementation of AST/random program generation is done and I've started implementing the messer to introduce errors to generate random tests. There is still work to do but I'd appreciate any feedback on what I've got so far.
what about the random tests?
Not the most beautiful solution but I think it works well enough, I might give it some more polish some other time. I've translated all the fixed tests from the Python solution, but still need to make randomised tests before this is ready to approve. Any feedback is welcome, I'm still new to Rust so I'm sure there is plenty to pick at.
edit: I should probably mention I took a lot of inspiration from Blind4Basic's Python fork here for the parsing/compiling part of this solution, so credit to him for the general idea of how it functions
https://www.codewars.com/kumite/5c8c391b9c85de5cb3aade97?sel=5c9151bd5cbd19001802e562
Hey Donald, is there any reason this was never approved? It looks like youx is no longer active, I wouldn't mind reviewing his translation or writing a new one if that would be preferred.
done (removed your message)
Loading more items...