• Ethan
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    Who says Python isn’t a real programming language? Do they mean it in the same way as “real men prefer X”? That’s an opinion, though an idiotic one. Because if they mean it in the “CSS isn’t a programming language” sense, that’s factually wrong (about Python).

    • Scoopta
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      CSS is turning complete, those that think it’s not a real language have not tried hard enough

      • Ethan
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        Malboge and brainfuck are also Turing complete. Hell, magic the gathering is technically Turing complete. Yet for some reason no one uses them for production systems… A real programming language is something you can realistically use to create production software, not just something that’s Turing complete.

        Also (source):

        You can encode Rule 110 in CSS3, so it’s Turing-complete so long as you consider an appropriate accompanying HTML file and user interactions to be part of the “execution” of CSS.

        So unless you have a different source, CSS is not Turing complete by itself. CSS+HTML is - if you allow “user interactions” which IMO disqualifies it.

        • Scoopta
          link
          fedilink
          arrow-up
          1
          ·
          3 days ago

          My response was more of a meme to the fact of you saying CSS isn’t a programming language. There are lots of different categories for programming languages. Is CSS a “real” programming language, no. But depending on your field and persuasion scripting languages like python aren’t “real” programming languages. But they’re all still programming languages and if you make use of CSS in a turning complete way you are quite possibly the most “real” programmer I know even if it is only a gimmick. Also your last statement is not wrong, although I would consider it turing complete despite those limitations. If we want to be pedantic malbolge is not turing complete because memory limitations are baked into the spec and there are therefore problems that cannot be solved with it that could be provided it had more memory.