• @[email protected]
    link
    fedilink
    English
    18
    edit-2
    7 months ago

    I sometimes wish my employer didn’t know that I can write Python code, so that I would never be assigned front-end work. I prefer to deal with programs that take lists of numbers and return lists of other numbers.

    (I’m not as bad as one guy I used to work with, because at least I accept ASCII input. His backend code only took binary-encoded configuration files for no reason I can think of except maybe to punish anyone except himself who tried to use it.)

    • Trailblazing Braille Taser
      link
      fedilink
      12
      edit-2
      7 months ago

      I’m terrified by this binary config file. Why?! Was he writing C and said “fuck it, memcpy”?

      Edit: I suppose it would be more like “fuck it, fprintf(f, (char*)my_config_object, sizeof(my_config_object))”

      • Troy
        link
        fedilink
        17 months ago

        I mean, python has pickle and people use that to store config. It’s a weird practice, and totally unsafe, but it works well enough. This wouldn’t be that different.