• jimmux@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    22 hours ago

    At my last job we had a lot of old code, and our supposedly smartest framework people couldn’t be bothered learning front end properly. So there was a mix of methods for passing values to the front end, but nobody seemed to think of just passing JSON and parsing it into a single source of truth. There was so much digging for data in hidden columns of nested HTML tables, and you never knew if booleans would be “true”, “TRUE”, “1”, or “Y” strings.

    Never mind having to unformat currency strings to check the value then format them back to strings after updating values.

    I fixed this stuff when I could, but it was half baked into the custom framework.