Meme transcription:

Panel 1: Bilbo Baggins ponders, “After all… why should I care about the difference between int and String?

Panel 2: Bilbo Baggins is revealed to be an API developer. He continues, “JSON is always String, anyways…”

  • andyburke@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    You are a fintech dev using floating point? And your advice is to encode things as strings?

    This is why I got out of fintech.

    (I am sorry, I know there are horrors and I am sure I am not familiar with your exact scenario.)

    Edit: just for anyone who passes by: try to stick with integers in a currency’s smallest unit of division. (This is only one small bit of this problem, but the number of times I have seen currency values in floating point makea me psychotic.)