Gilded Rose Kata and the value of explicit requirements in the code

from blog Radan Skorić's website, | ↗ original
I came upon the Gilded Rose coding kata by reading Victor Shepelev’s (a.k.a. Zverok) blog post about it. I liked it, especially the part about not immediately reaching for the OOP solution. Ruby is an expressive multi-paradigm language that offers various tools beyond classic OOP. However, looking at Victor’s solution I felt like something is...