nnev / c128-kasse

Kassensoftware für den C128
Other
3 stars 3 forks source link

Limit negative balances #57

Open lysogeny opened 8 months ago

lysogeny commented 8 months ago

Allowing arbitrarily large negative balances can be problematic. It may be useful to introduce a limit beyond which the balance cannot go negative, like -5€.

stapelberg commented 8 months ago

There was discussion to remove negative balances altogether. Maybe just reverting the commit that introduced them is sufficient for that, and to make this issue moot, too.

Merovius commented 8 months ago

Personally, I would favor not having negative balances. It was a reasonable experiment, but to me, the fact that we ended with negative totals after the event means it failed, pretty much. The relatively small convenience of not having to top up when getting a drink doesn't outweigh the awkwardness of having to hunt down outstanding debt after the event.

lysogeny commented 8 months ago

There was also discussion to limit it to something small where losses would not be too severe.

Personally I would not be opposed to going back to strictly positive balances either.