codewars / codewars.com

Issue tracker for Codewars
https://www.codewars.com
BSD 2-Clause "Simplified" License
2.09k stars 220 forks source link

Tag submitted Kata Solution with text indicating Pattern / Architecture used. #783

Open jadjare opened 7 years ago

jadjare commented 7 years ago

Ability to add a tag to a submitted solution. The tag can be any text but the system should show previously used tags as the user types.

Submitted solutions can then be tagged with things like the design / architectural pattern used. For example, if a solution is submitted and the author has done it in the style of Domain Driven Design they can tag the solution as "DDD".

This will allow users to filter submitted solutions based on tags. There are often so many submitted solutions that it's hard to find ones completed in a particular style, often the person that's managed to get the solution as close to a one liner as possible seems to bubble to the top.

Being able to filter solutions by tags will help users find out alternative solutions (vote them up) and perhaps encourage users to try the same Kata using different patterns and techniques. Authors of Kata's can also encourage people to try their Kata's with different aims and tag accordingly, e.g. "MostConcise", "MostReadable", "IoC", "NoLINQ", etc

┆Issue is synchronized with this Clickup by Unito

dibley1973 commented 7 years ago

I concur. I see too many high voted on "Best Practice" which are actually ridiculously long one liners. "Clever Solutions", they may be... "Best Practice" - I doubt. Since when was it best coding practice to code an entire solution into one line.

"Readbility" and "Understandability" should have more weight. I think there needs to be a feature which will drive out solutions with "clean code" or written with "DDD" principles, etc..

PLEASE UPVOTE this feature request if you agree.

johncollinson2001 commented 7 years ago

I would like to see a tagging mechanism in place and would find it very useful. Agree with the previous comment about "clever" one liners.