Abstract out the matching algorithm architecture to allow other types of comparisons #685
Labels
Experience: Backend
hacktoberfest
Good issue for someone to work on for Hacktoberfest
help wanted
We'd love to have help working on this issue
python
Pull requests that update Python code
Type: Enhancement
Projects
Description
While comparing programming languages was the original purpose of Code Thesaurus, the goal was to enable other types of searches for things. This could include things like:
Right now the main matching algorithm is hard-coded for languages. It is also heavily tied into the reference and compare page views. This work would need to refactor the algorithms out of the views and into their own class, and also refactor the variables to be more generic for any types of comparisons. The end result would be something that's easy to add a new comparison type to the home page and with new views and thesaurus files, we have an easy way to scale this concept to multiple comparison types.
Requirements
Additional Notes
I haven't thought too much on this yet but will probably start looking into it during October 2023 (Hacktoberfest). I welcome anyone that wants to join in on this!
The text was updated successfully, but these errors were encountered: