27

When your backend team is more experienced than the frontend.

Comments
  • 6
    i 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.
  • 8
    I think the backend team is incompetent because they seem to be using floating point numbers for money.
  • 0
    @vexusia 😂 Just a fancy name for hot chocolate lava cake, sorry for the disappointment
  • 1
    @7400 can't agree more.
    Frontend shouldn't change the numbers they get from back-end. They should just display them.
  • 0
    @AndSoWeCode validation should happen regardless of where it's handled
  • 2
    Those are some expensive wraps..
  • 0
    @perotti not validation from back end. That would dupplicate code.
  • 0
    @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.
  • 0
    @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.
  • 0
    This sounds like a job for .toFixed(2)
Add Comment