Y
Hacker News
new
|
ask
|
show
|
jobs
by
snapetom
2208 days ago
I'd like to know what happens to can_buy_stuff and the rest of the code when user is Not None and balance_credit is -1.
2 comments
nurettin
2207 days ago
user can't buy stuff and one unfortunate developer will hunt the bug that charged someone with negative credit.
link
BiteCode_dev
2208 days ago
can_buy_stuff is then False.
link