• RGB3x3@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        9 months ago

        Yeah. Look at any dev job listing and it’s all “Python, C++, or Java experience preferred”

    • EnderMB@lemmy.world
      link
      fedilink
      arrow-up
      32
      ·
      9 months ago

      Perhaps as the new hotness to web devs, but Python was a mainstay in science way before Django.

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        9 months 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
          arrow-up
          1
          ·
          9 months 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
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            9 months 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
              arrow-up
              3
              ·
              9 months 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.

      • zalgotext@sh.itjust.works
        link
        fedilink
        arrow-up
        15
        ·
        9 months ago

        Nah, Python 2.7 got way more support than it ever deserved because people just refused to switch to 3. Hell, people were starting new python projects on 2 after 3 came out.

  • invertedspear@lemm.ee
    link
    fedilink
    arrow-up
    95
    arrow-down
    3
    ·
    9 months ago

    Yesterday I would have argued that with the rails framework Ruby is a great way to rapidly develop a scalable application. Today I started having an intermittent failure in one of my API instances and when searching about it the only thing I could find was one obscure blogpost that boiled down to “yeah sometimes Ruby Ave active record just screws up the character set off a string” exact same string, different results. Excuse me Ruby? How the fuck can you sometimes screw up a character set? There should be no sometimes to any thing here.

    • puppy@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      Haven’t Spring Boot in Kotlin with jib and cloud integration caught upto this in terms of development speed?

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

      I mean I’ve been using ActiveRecord for the last 20 ish years and I’ve never encountered or even heard of this bug. Sounds like you came across an especially obscure one.

    • EnderMB@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      I spent a few years with Ruby, and my experience is that Ruby and Rails couldn’t be more different in terms of programming approach, philosophy, and nature. I don’t trust Rails fully, but I do trust Ruby.

  • caleb@programming.dev
    link
    fedilink
    arrow-up
    67
    arrow-down
    1
    ·
    9 months ago

    As a Rails engineer with 14 years experience, I can say the place that should be in the 3rd panel is Shopify. They employ so many ruby and rails core committers and directly fund a good many rails gems, and ruby community infrastructure it’s insane. They’re also directly funding the development of things like the YJIT and speed enhancements to MRI itself.

    Then there’s all the other places I know or worked at built on Ruby where my other long tenured ruby friends work.

    • Gusto
    • Airbnb
    • Clearbit
    • Stripe
    • Github
    • Gitlab
    • Bold Penguin
    • ComradeKhoumrag@infosec.pub
      link
      fedilink
      arrow-up
      11
      ·
      9 months ago

      Ruby was recommended to me by my comparative programming languages professor. I haven’t picked it up, but there were memes that this professor was so good at programming he was secretly built by the university in C++ to teach students how to write better code.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        It’s worth learning Ruby to understand some of the tricks you can do in programming languages.

        Did your prof also recommend others like Lisp?

    • rambaroo@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      Aha asks for Ruby on rails experience in their job listings, so they must be using it as well

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

      And it’s a pile of shit.

      git is great. GitHub blows chunks. The only reason it’s still big is that it sucks less than any other single platform.

  • settoloki@lemmy.one
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    9 months ago

    Should be wordpress and not Facebook for php. Which still makes up the majority of websites.

  • somas@kbin.social
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    9 months ago

    @nifty I have nothing against Ruby and think it’s a nice flexible language. At the peak of RoR though, all the asshats were all over Ruby.

    My problem with Ruby wasn’t even RoR, it was with the way the asshats valued creativity “cleverness” which seemed to mean writing code in the most cryptic ways possible. These folks took what should be an expressive language and wrote scripts that rivaled Perl’s worst “read once and never again” scripts.

    • wim@lemmy.sdf.org
      link
      fedilink
      arrow-up
      15
      ·
      9 months ago

      I never did Rails but I used Ruby for many personal projects in the 2000s.

      When showing stuff to my coworkers or friends, I often joked how I tried to make my code look like it was already gzipped.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      9 months ago

      This wasn’t “creativity over code” so much as it was the tail end of y2k and all the greybeards were canned so none could teach the shiny whiz kid how to code like an adult.

      Without the linus-like code review sessions, they never learned why and how to improve.

      Now their kludge-bro mentality has raised a whole new generation.

      And that’s why people don’t know not to flatpak or npm themselves into a solarwinds sploit.

  • tvbusy@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    24
    ·
    9 months ago

    RoR is too much magic for me. Getting started with any new code base is such a pain that I never want to do again. As a manager, I’ll avoid any job post that mentions Ruby. I have maintained projects written in Delphi, Centura, Java, C#, PHP and none of them even come close to the pain of RoR. Java and C# are notorious for ceremonial interfaces but that’s nothing compared to trying to figure out RoR automagics.

    • FMT99@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      Maybe in enterprises settings what you say makes sense, but for the small to medium startups I usually work for, RoR is great. It’s super easy to prototype and switch lanes. If I had to do what I do in Java I’d go insane. As for Delphi…

      The RoR “magic” being obtuse is extremely exaggerated most of the time and more meme than reality. If you think PHP is better, by which I guess you mean Laravel, how on earth is that less “magical”? React? Next? I’ll take Ruby any day.

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        9 months ago

        React can go fuck itself with a pineapple, fuck that piece of shit. Every project I’ve had to deal with that used React was an absurdly bloated mess because it imported fuckloads of React plugins and addons.

    • arc@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      There is a lot of magic in Java. Try Spring Boot for example, and things magically connect together with annotations, or somehow methods get injected onto interface on the fly, or an http interface maps onto a function with parameters because the runtime is doing it. This is most evident when you set a break point in some class and there might be 4 or 5 mystery functions it passed through between it and where you thought it was calling from. Sl4j, Lombok, Hibernate are doing the same kind of thing.

    • geogle@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      9 months ago

      Physics changes with retirements. FORTRAN should received it’s gold watch and shown the door about 20 years ago now.

    • pbbananaman@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      9 months ago

      How long ago? ROOT (and other frameworks like GEANT) using C++ has been the standard for over 15 years, but probably longer. I think my advisor was of the last generation that had to write in Fortran.

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

        Currently lmao. I’m using those tools as well but some specific event generators I’m using are in Fortran still

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

        the last generation to write FORTRAN

        runs to look out window

        My God is the sun turning into a red giant?!

        Oh no, whew, that’s a relief! Guess the FORTRAN programmers will be relevant for a little longer too then.

        (As a .NET dev, I wish some languages (or versions of languages) would die but i really think once code has been written it never goes away!)

        • Cosmic Cleric@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          [COBOL has entered the chat.]

          Capitalism will never let a programming language die, if it’s still less expensive than an alternative.

  • visnae@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    9 months ago

    Hey Ruby debs, lookup Elixir. It’s supposedly similar syntax but run on the Erlang VM instead. Lots of cool companies use it, and a great community. 🤗

    • bionicjoey@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      Elixir is an awesome language. It takes some getting used to as it’s meant to be more functional like Haskell, but it plays really nicely with big parallel workloads and is super clean to write

    • Slotos@feddit.nl
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      Don’t learn Elixir to replace Ruby. Learn it to enjoy OTP and BEAM.

      I would love to join a cool company that’s willing to accept a dev that can transition fast. However, most of Elixir job listings I find are gambling or crypto. And I ain’t gonna touch those.

  • Phoenixz@lemmy.ca
    link
    fedilink
    arrow-up
    20
    arrow-down
    2
    ·
    9 months ago

    Is PHP becoming irrelevant? It still comprises the vast majority of web pages out there. Maybe that has been going down but with he amount of competing languages and systems out there, that is to be expected.

    Either way, it’s an awesome language, happily been using it for decades now

    • bitcrafter@programming.dev
      link
      fedilink
      English
      arrow-up
      12
      ·
      9 months ago

      Either way, it’s an awesome language, happily been using it for decades now

      Mind taking a moment to share why you like it? I am not very familiar with it.

      • bier@feddit.nl
        link
        fedilink
        arrow-up
        12
        ·
        9 months ago

        I’m not the one you asked, but what I like isn’t really about PHP itself, but the fact that I can get dirt cheap hosting with PHP and MySQL. Every time I want to create a small “app” that makes some manual task easier it’s very useful to create something I can access from the internet.

        Python is really useful for stuff like that too, but (in my experience) not as easy and cheap to use as an web app.

        For example I go to dinner with some friends every month and we always forget who’s turn it is to choose and book a restaurant. So I just made this PHP page that shows the current and next 2 months with a name. So we always use that to see who’s turn it is.

          • bier@feddit.nl
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            I don’t know, maybe it’s because PHP used to be the default web based language? I just buy hosting, I don’t sell it…

        • Phoenixz@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          Though I like that you use PHP, I don’t think there is such a thing as PHP hosting, or python hosting? Maybe I’m not understanding what you’re saying here?

          • bier@feddit.nl
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            When you pay a company and they provide you with a domain (you choose) and give you a webserver, some disk space, a database etc.

            I pay about 30 euros a year for 5 websites. They are all very basic (either some php stuff I made, or WordPress). These websites have very few visitors so the hosting specs don’t really matter. All these websites have a specific domain name, some disk space, and a database.

            For this price they offer PHP and MySQL. So it’s not a dedicated server where I’m root and can Install other stuff.

        • bitcrafter@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          I’m not the one you asked, but what I like isn’t really about PHP itself, but the fact that I can get dirt cheap hosting with PHP and MySQL.

          Oh, wow, I looked a little into this and hosting really is dirt cheap! That is a benefit that I genuinely was not expecting.

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        5
        ·
        9 months ago

        … And it’s one of the languages everybody craps on. Like, I’ve seen people compare JavaScript favourably to it.

        • Phoenixz@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          9 months ago

          Yeah they do, with no real reason, really. Oohh, “some functions use underscore and others don’t!” And? It’s not a problem, really. Every language has baggage from the past and PHP kept it for stability, I’m happy with that.

          • CanadaPlus@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            “some functions use underscore and others don’t!”

            That’s weird, but more of an aesthetics issue than anything. JavaScript will actually decide to behave oddly for no reason; if that’s it it’s still king of the shitbirds.

      • Phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        Quite early on the eyes, powerful, fast to build and rolk out projects, about. A billion libraries with all the functions you’ll ever need. People both about it because it has some language quirks from way back in the beginning, I see it as stability. I don’t know how node is now but I remember a few years back where every bug fix came accompanied not only by 10 new bugs but also a bunch of interface changes that immediately broke everything. Every. Single. Damn. Time.

        Having said that, it under very active development and has been majorly improved over the years. Dumb design choices are no long available and right now it’s quite easy to work securely with it.

        Beyond the “but these two functions should have similar naming but they don’t!” argument, that with a good editor doesn’t matter anyway, there isn’t really a good argument out there not to use it.

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      9 months ago

      Depends on how you’re judging relevance.

      93% of webpages could be PHP because of Wordpress, but that doesn’t necessarily mean there’s a lot of PHP developers.

      • Phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        If that hypothetical 93% is WordPress, there’s still a huge demand for PHP developers to maintain that and the plugins and so

  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    9 months ago

    Those hentai games and visual novel games still keeping ruby lang relevant tho, rpgmaker game engine is one of examples