• UndercoverUlrikHD@programming.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    3
    ·
    9 months ago

    Since nobody else have said it, Python. It’s quick and easy to set up all kinds scripts with it. No need to compile and most Linux distros comes with python pre installed so you’re are just one ctrl+v or git clone away from being able to run your scripts.

    You got libraries for all sorts of things, and if you need performance, C and Rust interface all nicely with it. Just remember to use type hints.

    • waz@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Python is my go-to in a lot of situations. Initially I really hated the “whitespace has meaning” feature of it. Now after more than a decade of using it, I’ve gotten used to it, but I still really dislike the the whitespace scoping.

      Everything else is great, I just miss my brackets.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        IMO whitespace is one of its biggest selling points. It makes code so much easier to read that keeping track of how deep you’re in and which bracket to close. Makes refactoring easy too: select stuff with a certain indentation, cut it out and replace it with a single call or something. No looking for the brackets.

    • sping@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 months ago

      Yes, as long as you just type annotation and checker-clean code.

      Asyncio programming is a delight, context-based constructs can make sophisticated code safe, robust, and clear. Anything mildly popular you want to interface with probably has a library… There are major advantages to swimming in the mainstream.

      Yes it may have grubby and suboptimal corners, but in the real world, making things happen, problems are easy to avoid usually.