• NostraDavid
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    I wish they had a separate Query Language list - it’s weird seeing SQL sit between Python and Typescript…

    I also think it would be a good way to introduce more people to non-SQL query languages (like Quel, PRQL, ISBL, jq, Alpha (even though it’s still not been implemented), SaneQL, EdgeQL, and many more), because it generally feels like it’s the only query language available ever… Which it’s not.

    • KissakiOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Would Nushell qualify as a query language?

      At the same time, it’s a scripting and programming language. Statements and commands are chained to query data.

      • NostraDavid
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        I don’t see why not. It has a sublanguage which can be used to query - same with SQL. You can do other things in SQL besides querying as well, so why not?

        • TehPers@beehaw.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          C# also has a built-in query language (LINQ). I think it might just be simpler to group them together to avoid nuances like these, though I don’t think anyone would complain about not seeing LINQ on a query language list either.

          • KissakiOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            Personally, I would like to see LINQ query syntax and LINQ method syntax separated too. Because I find method syntax very useful (for simple or linear-spread-cascading queries), but I find query syntax hard to read and reason. Even worse so when it introduces variables. I don’t want to see it anywhere in my projects. But method syntax has clear reasoning borders and I enjoy using it (up to a certain query complexity).

            • TehPers@beehaw.org
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 months ago

              I also avoid query syntax generally because I find it hard to map to method syntax with more complex queries. It’s a cool concept though, despite it being painful to use.

        • KissakiOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Do we list it in both categories then? Query languages and scripting languages?