codewars / content-issues

Higher level issue tracker for the Codewars content.
15 stars 1 forks source link

Deduplicate - Vector class #121

Open hobovsky opened 2 years ago

hobovsky commented 2 years ago

Vector class

  1. Vector Class

    • 5 kyu
    • Vectors in 3D
    • 93% with 700+ completions
    • 1 pending issue
    • 2 languages (Python, Ruby) + 1 pending translation (Java)
    • Published Mar 2014, author inactive
  2. Program a Calculator #2 - 3D Vectors

    • 5 kyu
    • Vectors in 3D
    • Much more detailed than 1., asks for more operations.
    • 89% with 188 completions
    • 2 pending issues
    • 4 languages (C#, JavaScript, Python, Rust), no pending translations
    • Published Apr 2017, author active
  3. Vector class

    • 5 kyu
    • Vectors of arbitrary dimensions, set of operations very similar to 1.
    • 88% with ~6k completions
    • 4 pending issues
    • 4 languages (CoffeeScript, JavaScript, Python, TypeScript), no pending translations.
    • Published Oct 2013, author inactive

Conclusion

Filling gaps

hobovsky commented 2 years ago

I think this kata is nice to exercise objects and classes in various languages, so it's good to have it, and it's good to have some variety it brings. But still, three kata might be too many.

Between 1. and 2. I think I like 2. more due to its larger scope, but it could use some technical improvements. It suffers from FP precision issues, and sometimes assertion messages are not very clear. I would vote to retire 1. and keep 2. as more interesting, potentially reporting/fixing its issues.

Between 3. and the others, I am not really sure but I think I'd vote to keep 3. It is very similar to 1. w.r.t. the set of required operations, but the arbitrary size of the vectors requires different approach. Additionally, I think this kind of tasks is a place where some repetition is good to have for learning purposes. I will not object too much though if community would decide to retire it as a duplicate of 1. or 2.

akar-0 commented 2 years ago

Agree with retiring 1 and conserving 2 and 3.

Kacarott commented 2 years ago

I agree with retiring 1 and keeping the others.

monadius commented 2 years ago

Retire 1.

EloiseRosen commented 2 years ago

don't have a strong opinion, but retiring 1 sounds fine

hobovsky commented 2 years ago

I think that conclusion is quite clear to retire 1. and keep 2., but this means that three translation have to be moved, and the kata has quite a large scope, so any help is welcome!

awesomeAD1 commented 1 year ago

Just an updated: I've published a Python translations for 2.