3 ms·
I've worked on an enterprise application serving hundreds of millions of users and this exact error went out the door. So no, practically speaking, this absolu
by akersten 6y ago
I've worked on an enterprise application serving hundreds of millions of users and this exact error went out the door.
So no, practically speaking, this absolutely does not get caught right away. And if the specification is this sloppy, it should be thrown out and redone.
- gnutaler 6y agoThe specification is not sloppy, it specifies precisely the wire format, and does expressly cover this problem of how the values MUST be interpreted. The specification does not cover how the application should render the amount when showing it to the user, so when applications show the amount to the user they can of course still render it in a culturally appropriate way.
- chrismorgan 6y agoIt specifies the wire format and how it must be interpreted, but deliberately leaves a big footgun in place where there was no need to do so.