lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
nifty to Programmer Humor@programming.dev • 1 year ago

Every language has its niche

lemmy.world

message-square
166
fedilink
926

Every language has its niche

lemmy.world

nifty to Programmer Humor@programming.dev • 1 year ago
message-square
166
fedilink
  • @Omgpwnies@lemmy.world
    link
    fedilink
    English
    6•1 year ago

    Python is the language of choice for most test automation

    • @SpaceNoodle@lemmy.world
      link
      fedilink
      5•1 year ago

      If I can’t do it as a Bash one-liner, I’m using Python

      • @Omgpwnies@lemmy.world
        link
        fedilink
        English
        3•
        edit-2
        1 year ago

        subprocess.Popen(["bash one-liner"], stdout=PIPE, stderr-PIPE, text=True)

        • @SpaceNoodle@lemmy.world
          link
          fedilink
          4•
          edit-2
          1 year ago
          ["bash", "one-liner"]
          
      • @fluxion@lemmy.world
        link
        fedilink
        English
        1•1 year ago

        I use perl, but everyone hates me and would rather rewrite my little scripts in python than bother changing a single line

        • @SpaceNoodle@lemmy.world
          link
          fedilink
          1•1 year ago

          You’re right, everyone hates you.

          • @fluxion@lemmy.world
            link
            fedilink
            English
            1•1 year ago

            😔

            • @SpaceNoodle@lemmy.world
              link
              fedilink
              1•1 year ago

              The good news is that you can stop using Perl at any time.

              • @fluxion@lemmy.world
                link
                fedilink
                English
                1•1 year ago

                For quick data parsing you’ll have to pry it from my cold dead hands im afraid

                • @SpaceNoodle@lemmy.world
                  link
                  fedilink
                  1•1 year ago

                  That could be arranged. I could bash you over the head with a python.

                  • @fluxion@lemmy.world
                    link
                    fedilink
                    English
                    2•1 year ago

                    It’s a kind offer, but my head is far too hard

      • @Shareni@programming.dev
        link
        fedilink
        0•1 year ago

        Grug use go because it easier, faster, and compiles to share with friends of Grug

    • @smeg@feddit.uk
      cake
      link
      fedilink
      English
      2•1 year ago

      Depends entirely what tests you’re automating. Java codebase? Probably Java tests too. Anything web? Tests will be JS too, etc.

      • @Omgpwnies@lemmy.world
        link
        fedilink
        English
        2•1 year ago

        Web testing is also done in python. Selenium has support in all major Python test frameworks. I’ve done SE-only tests in Robot, hybrid SE/Python using BDD with Behave, etc.

        Unless I’m testing a language-specific API, I’m probably going to use Python…

        • @smeg@feddit.uk
          cake
          link
          fedilink
          English
          2•1 year ago

          I’m guessing that’s because you’re a python developer though. If you’re a frontend developer who knows JS then why wouldn’t you use that for your tests? (Apart from the fact that JS is horrible, but you’ve already accepted that suffering by becoming a web dev)

          • @Omgpwnies@lemmy.world
            link
            fedilink
            English
            4•1 year ago

            I’m a test automation developer, I’m not necessarily bound by the platform that the application is written in unless I’m writing white-box tests.

Programmer Humor@programming.dev

!programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 1.79K users / day
  • 3.76K users / week
  • 9.66K users / month
  • 19.7K users / 6 months
  • 24.6K subscribers
  • 1.52K Posts
  • 53.7K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org