• r1veRRR@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    18 hours ago

    But I rarely want the output twice? At least in this domain of coding, the entire point is doing it once.

    Secondly, I can definitely validate it in most ways that matter. Ironically, by compiling it for example, I make 100% certain the output was well defined code. Type checking, linting, tests, etc. all help ensure I got functionally valid code.

    At that point I might not really care if the function name or a variable name is different, just like I don’t care that the compiler did some kind of heuristic optimization or minified the names or something.

    In both cases, I have a target functionality, and I need to validate it was reached. The way I got there doesn’t matter (in most cases).

    It’s a bit like Docker vs. Nix. Sure, docker isn’t really reproducible perfectly, but it fulfills it’s goal for most people most of the time for a fraction of the time and effort taken.

    • BlaestEgnen@feddit.dk
      link
      fedilink
      arrow-up
      1
      ·
      12 hours ago

      At that point I might not really care if the function name or a variable name is different

      At least clean it up so it’s maintainable, introducing tech debt is a long term impact