Hacker News new | past | comments | ask | show | jobs | submit login

[flagged]



>> You obviously don’t code.

over 40 years if you count my kid years and closing in on 30 on the clock. IMHO anyone that thinks "the price magically increments 10 dollars every page refresh" is somehow a typical bug (that made production yet!) should probably quit the field.


So I've been coding a few more years than you have, but not many. As a backend dev, this bug makes no sense at all. Having spent a few years with companies using things like Angular and React, I've seen bugs of this type / in this category more than once.

Count yourself fortunate that you've missed such things, but this is the norm more often than not.


>> Count yourself fortunate that you've missed such things...

Will do.

... but this is the norm more often than not.

I can't tell you how frightening I find that ;-) I did appreciate your comment:

>> As a backend dev, this bug makes no sense at all.

That affirms my idea that such things should never happen - at least in some contexts. But it leave me wondering what on earth kind of tools are people using for this to be unsurprising?


> such things should never happen

The space where things should never happen is fertile ground for bugs, because by definition programmers pay less attention / do less testing when they think failure is impossible :)


I retract my assertion then. However, there were several possible scenarios proffered in the comments whereby this is an easy bug to create. Mainly an increment setup where it increments itself instead of increments off of a base.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: