Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
snapetom
· 6y ago · 0 comments
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.
Comments
[–]
nurettin
6y ago
user can't buy stuff and one unfortunate developer will hunt the bug that charged someone with negative credit.
[–]
BiteCode_dev
6y ago
can_buy_stuff is then False.