Change my mind.

          • ilinamorato@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            No. The primary purpose of programming languages is to be machine-readable first, human-readable second. The primary purpose of both markdown and plaintext is to be equally readable by both humans and machines.

            • Fmstrat@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              3 days ago

              Assembly, perhaps. But not every other language. Every other language’s sole purpose is to be easier than assembly to read by humans, so it can be compiled or translated through an engine into something a machine can read.

              Machines do not read Rust. Machines do not read C++. Machines do not read JavaScript. Humans do.

              • ilinamorato@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                2 days ago

                Machines do read Rust. Just because those machines are compiling the Rust code doesn’t mean they aren’t reading it. And every affordance the Rust devs included to make it easier for that compiler to do its job makes it harder for humans to read, but Markdown’s affordances are equally helpful for humans as for computers; and they’re designed to be so because they were adapted from shorthand that was already in use.

      • ilinamorato@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        5 days ago

        My only objection to that is that its source code isn’t easily human-readable, like Markdown’s is. The point of an .md file is that a human and a computer can both parse it just as easily as a native format.