Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
plusgut60377yi doubt that the one datapoint is calculated by the frontend and the other by the backend.
I guess the frontend guys are incompetent and rounded at one place and forgot the other. -
740027807yI think the backend team is incompetent because they seem to be using floating point numbers for money.
-
@vexusia 😂 Just a fancy name for hot chocolate lava cake, sorry for the disappointment
-
@7400 can't agree more.
Frontend shouldn't change the numbers they get from back-end. They should just display them. -
perotti7987y@AndSoWeCode say, you are working on a freelance for this company and you'd expect things to happen in a certain way.
Same as doing tdd, you'd validate stuff to not look goofy towards your clients even if it's backend's fault.
Clients don't know better. -
@perotti but that would only introduce bugs. What if the price has to be with more decimals? For example vps resources charged per hour of user. If you are changing data on display, you are doing business logic, which shouldn't happen on front end.
When your backend team is more experienced than the frontend.
undefined
onlinefoodorders