• kpw@kbin.social
    link
    fedilink
    arrow-up
    11
    ·
    8 months ago

    They tried to replace programming languages with drag-and-drop toolkits too. It can be done, but sometimes there’s a reason we don’t do it.

    • Dmian@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      5
      ·
      edit-2
      8 months ago

      But I’m not talking about programming languages, I’m talking about CLI programs, or system commands.

      And I’m not telling a GUI would be better, or more efficient, I’m just saying that it can be done (something you are saying too about programming languages).

      That’s the point: a GUI can replace a CLI. Is it better? Sometimes it is, sometimes it isn’t. Is it possible? Absolutely.

      • Captain Aggravated@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        I would assert that basically every shell I’m aware of is also a programming/scripting langauge, able to handle things like loops and branches. This is possible to do in a GUI but it’s kind of telling no one has achieved this in a desktop environment to any significant degree, including in the Linux space.

        “Iterate over all of the files in this folder, if it’s a video file of any format, create a folder with the same name as the video file in ~/Videos and move the file there.” I’m unaware of an OS desktop environment that can do even that level of automation with default GUI tools. It’s like 5 lines of Bash including “done;” at the end. You can probably do it in PowerShell, but I bet Windows power users would rather use AutoHotKey for this.