RedJocker / OrdersMenu

0 stars 0 forks source link

description may be unclear on some terms used on stage3 #5

Closed RedJocker closed 1 year ago

RedJocker commented 1 year ago

The task for the third stage says: "Add a onClick to "+" so that the amountOrdered increases after it is clicked". However, what is amountOrdered and where it came from is not clear. And in the implementation of this stage there is no mention of it. I assume that in the implementation it corresponds to the variable 'quantity'? The situation is similar with amountStock.

on revision by @Razotron

RedJocker commented 1 year ago

the terms 'amount in stock' and 'amount ordered' do appear on the first section and they are also very self-descriptive, but I can try to make it even more clear. The fact that the reference solution is not using those exact terms is not really important. I wrote the description only after writing all the code for reference solution and tests, but it looked to me that amountStock and amountOrdered would be more clear the variable names used on reference solution.

RedJocker commented 1 year ago

description was rewritten trying to be more clear on the usage of those terms