This is more a philosophical question than a technical one.
I need about 40 hours of work on a new Rails application. This is related to retail, and in the beginning I chose the name "item" to describe one available product for sale.
Over time, it became clear to me that this was a mistake - the word “element” is too general, and “product” might be a better choice.
So, the solution that I am facing now is that I will reorganize / rename my ERB models, code and tables before I create more with this somewhat poorly chosen name, or just leave it as it is, save some time and move on? I’m worried that he chooses the latter several times, which leads to the ridiculous technical debt that I saw in other projects, but I also think that this may be a form of premature optimization.
Thoughts?
source
share