• nous@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    16 hours ago

    There are quite a few downsides to what the author proposes as well that they did not consider. If you store code in an intermediary format then every tool that needs to interact with that code needs to understand that language. Back when ada was out that might not have been a big issue. It has a dedicated IDE, lots of languages did. There was no real source control either, at least not like today.

    To do that today, does not matter if the source is some binary format or minified it would need to be understood and processed by so many different tools. Just the source control alone, GitHub, bit bucket, gitlab, etc, all editors and idea, simple cli tooling like grep and sed. All would be much more of a pain to work with.

    IMO it is much nicer to just work with a nicely formatted code to start with. And have your editor auto format things so you don’t need to think about it. Then all downstream tools don’t need to care about or understand the language you have chosen to use.

      • Jerkface (any/all)@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        11 hours ago

        cargo formats Rust code so Rust programmers don’t have to. All Rust code is formatted to the same style and standard. It feels like having a masseuse on staff 24/7.