Just wondering what you’re looking forward to seeing arrive in Linux/<your fav distro>? Is there a specific feature specifically? If not, whats something you’d like to see?

  • rockSlayer@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    I’ve been writing a lot of bash code for work that involves invoking other applications that produce output which is then changed by the script. There’s also 40 years of legacy behind bash that produces odd behavior at times and causes useful modern features to be impossible. For example, did you know that {{1..22},X} and {{1..22}, X} produce completely different results? And people complain about significant whitespace in Python.

    Modern languages require extra work to interface with the OS and there are good reasons for that, but I want something that is as accessible as bash, with the simplicity and modernity of python, while both maintaining backwards compatibility and superseding the existing shell languages

    • bearforcepilot@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      I have been thinking about this myself for a while. I’ve been debating specifying type.

      My dream scripting language is something with rust style enums, no classes and easy interfacing with bash.

      Sort of like Python with brackets, the OOP stuff stripped out and some core system programming features.

      • rockSlayer@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        That’s similar to what I’m thinking of too! A typed Python that borrows a lot of stuff from Rust. Through my bash scripting, I’ve learned to embrace the idea of files-as-classes, with a “main” file that knits the other files into a cohesive application