• Dasnap@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    2 years ago

    Anything I can do in Shell I will do in Shell and yes I am a devops engineer thanks for asking.

  • Eochaid@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    The only validation you should expect and need is self-validation.

    Your work is absolutely valid and important. Your efforts are absolutely appreciated and worthwhile. But people are stuck in their own heads and work and stress and concerns and desires and validation loops and it takes actual work to break out of that to not only offer appreciation but to even realize that they need to offer it.

    And for that reason, you should also really appreciate anyone that validates you.

  • Legendsofanus@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    I know a bit of HTML so I just started learning Python. It’s fairly easy and fun, haven’t made anything real yet tho

  • pulaskiwasright@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    2 years ago

    Things that could have been done in bash is python’s best usecase. And bash sucks for scripting. Why not python?

      • pulaskiwasright@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        4
        ·
        2 years ago

        If we’re talking about 5 like script, then sure. Just use bash. But python is much better long term, in my experience, for scripts any bigger than that.

    • dukk@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      9
      ·
      2 years ago

      Not really true. Python was created for, and is still best used for data science. It’s user-friendliness made it a first for many inexperienced programmers too, and it started to be used for way more than it was initially intended. I’m not saying it’s bad at everything else, but there’s most certainly better tools for the job.

      • pulaskiwasright@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        2 years ago

        I won’t argue with what it was created for, but I disagree that it’s best usecase isn’t as a bash replacement. That’s the only spot I’ve used and liked it.

  • Reptorian@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I’m using G’MIC for raster-graphic image-processing, but I can do other things in it too with ease. I feel this post so much.

  • Kogasa@programming.dev
    link
    fedilink
    arrow-up
    9
    arrow-down
    10
    ·
    2 years ago

    I can’t think of a single reason to use bash over Python. Anything you can do in bash can be done in pure Python. Unless you’re working in some embedded environment it’s a non-issue to install a Python interpreter (you certainly already have one). I would only use sh/bash for packages I’m distributing to avoid the external dependency, and then only if it’s a relatively simple script.

    • Reptorian@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I know there’s a lot of downvotes because there are people reading this as hate toward Python. On one hand, one can make the case that it is overused and this doesn’t bold well for those that simply can never like it’s syntax. On the other hand, Python is perfect for small scripts that isn’t tailored for a Domain or just quick codes.

      • sanosuke001@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        Honestly, I’m not really a fan of the formatting and syntax of Python but I agree, it is a fine choice for scripting things quickly if you don’t mind the language itself.

        The biggest issue I have with it are all the incompatible versions, juggling modules, having some other random thing with a ridiculous configuration, where a bash script would be infinitely easier. Anything more complicated and Python is just too much of a headache.