942
top 50 comments
sorted by: hot top controversial new old
[-] umbrella@lemmy.ml 207 points 10 months ago

was python ever irrelevant?

[-] SpaceNoodle@lemmy.world 113 points 10 months ago

Nope. This cartoon is horseshit.

[-] RGB3x3@lemmy.world 15 points 10 months ago

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

[-] EnderMB@lemmy.world 41 points 10 months ago

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

[-] frezik@midwest.social 40 points 10 months ago

For about the first five years of its life, it was eclipsed by Perl. That's about it. I don't think anything will ever unseat Python as too many people's first and last language.

[-] SpaceNoodle@lemmy.world 10 points 10 months ago

Surely not in the immediate future, but there will surely be a day when Python dies. Remember that BASIC filled that role for far too long.

[-] frezik@midwest.social 21 points 10 months ago

BASIC was meant as a teaching language. Python is a real language that's simple enough to be a teaching language. It also runs the same dialect on every machine, which BASIC never did.

Being the second best language at everything, it gets used for everything because people don't want to learn the first best in any given niche. Python isn't the best choice for numeric applications, but with NumPy, it's adequate, so why bother learning R? Even if you knew R already, you're going to run into a lot of Python code for that domain from other people. You'll be swimming against the current, and why bother?

Python will die when the sun does.

[-] SpaceNoodle@lemmy.world 12 points 10 months ago

You have absolutely no idea how much business code has been written in VB.

[-] CosmicCleric@lemmy.world 10 points 10 months ago

Or COBOL.

No language truly dies, while Capitalism exists.

load more comments (1 replies)
load more comments (2 replies)
load more comments (18 replies)
[-] invertedspear@lemm.ee 122 points 10 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.

[-] frozen@lemmy.frozeninferno.xyz 84 points 10 months ago

I like Ruby most of the time, but honestly, I'm not surprised at "sometimes" behavior from the language created by someone who, when asked for the formal definition of something in the language, said he's "not really a formal kind of guy."

load more comments (3 replies)
[-] otl@hachyderm.io 97 points 10 months ago

Mastodon is written in Ruby. Nowhere near as big as Facebook or the ML field, but hey, it's important to a couple of us at least :)

@programming @nifty

[-] pkill@programming.dev 38 points 10 months ago

and therefore scales terribly ;;

[-] arc@lemm.ee 9 points 10 months ago* (last edited 10 months ago)

It probably wasn't a big deal when it was a niche project until Twitter imploded. Then all the public instances got overloaded with new users and the limits became obvious.

A better design is Lemmy which is written in Rust so it has far more scalability. It's compiled and because it's tokio / actix based, it can also do a lot more stuff asynchronously so it's not spawning thousands of threads to cope with concurrent requests.

load more comments (3 replies)
[-] CommunityLinkFixer@lemmings.world 17 points 10 months ago

Hi there! Your text contains links to other Lemmy communities, here are correct links for Lemmy users: !programming@programming.dev

load more comments (1 replies)
[-] caleb@programming.dev 77 points 10 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 12 points 10 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.

load more comments (1 replies)
load more comments (2 replies)
[-] SpeakinTelnet@sh.itjust.works 48 points 10 months ago

One of the most known programming tool is built on Ruby, Github.

[-] MilderRichter@feddit.de 38 points 10 months ago

GitLab also uses Ruby on Rails

[-] SpaceNoodle@lemmy.world 9 points 10 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.

load more comments (2 replies)
[-] MasterNerd@lemm.ee 41 points 10 months ago

So I know it's supposed to be an arm, but those language be dummy thicc

[-] MonsiuerPatEBrown@reddthat.com 40 points 10 months ago

the perl monks have hidden away the monastic order safely until they are needed to fight the ai demons

load more comments (1 replies)
[-] settoloki@lemmy.one 39 points 10 months ago

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

load more comments (2 replies)
[-] somas@kbin.social 31 points 10 months ago* (last edited 10 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 15 points 10 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.

load more comments (1 replies)
[-] tvbusy@lemmy.dbzer0.com 29 points 10 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.

load more comments (4 replies)
[-] Droggelbecher@lemmy.world 29 points 10 months ago

I had to learn Fortran for my thesis because it's the industry standard in particle physics

[-] geogle@lemmy.world 10 points 10 months ago

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

load more comments (1 replies)
load more comments (7 replies)
[-] visnae@lemmy.world 29 points 10 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. 🤗

[-] frezik@midwest.social 13 points 10 months ago

I've written a non-trivial amount of Elixir. It's nice, but I wouldn't say it's like Ruby. It's more heavily functional, and it wants you to work with data in an immutable way. If you're coming from a language that doesn't force immutability, then you'll be miserable until you get your head around how to work that way.

I really like it, though. Especially now that it's getting optional typing.

load more comments (3 replies)
[-] ILikeBoobies@lemmy.ca 26 points 10 months ago* (last edited 10 months ago)

I would say wordpress over Facebook for php

load more comments (1 replies)
[-] masterspace@lemmy.ca 25 points 10 months ago

Enterprise will keep the withered husk of Java EE crawling for eternity

load more comments (1 replies)
[-] s12@sopuli.xyz 22 points 10 months ago

Rails: “No. Don’t worry Ruby.”
Ruby: “Huh?”
Rails: *Hugs Ruby
Rails: “We’re becoming irrelevant.”

Together forever!

[-] merc@sh.itjust.works 21 points 10 months ago

Ruby -> Rails.

It just hasn't had a second revival.

[-] Randelung@lemmy.world 20 points 10 months ago

Goddammit, I'm feeling for an anthropomorphic programming language that I don't even know.

[-] bruhduh@lemmy.world 19 points 10 months ago

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

load more comments (2 replies)
[-] TheBananaKing@lemmy.world 18 points 10 months ago
load more comments (1 replies)
[-] linux2647@lemmy.sdf.org 15 points 10 months ago

Shopify is built on Ruby on Rails

load more comments (4 replies)
[-] Static_Rocket@lemmy.world 11 points 10 months ago

The only place I've seen ruby used extensively is in environments with a lot of regular expressions and string manipulation. Still not entirely sure why I've only seen it used there. The regex tools in ruby are nice but they aren't nice enough to justify a language switch in my opinion...

load more comments (2 replies)
[-] db2@lemmy.world 11 points 10 months ago

Off to the Island of Misfit Toys then.

[-] arc@lemm.ee 10 points 10 months ago* (last edited 10 months ago)

I wrote extensively in Ruby but for Rake - using Ruby as a build system. Can't say I liked the language although it was okay for how we used it. We have 20 sub projects with some very complex build targets and dependency scanning going on and the Rake syntax was okay. Personally I think its biggest shortcoming was the documentation was very poor and stuff like gems felt primitive compared to other package management systems. One thing I liked from the language was blocks could evaluate to a value which I really use a lot in Rust too.

I think if I were doing an acyclic dependency build system these days I'd use Gradle probably.

As for Rails I expect failed to catch on because even compared to Python, Ruby is a slow language. And Python isn't fast by any stretch. Projects that started with Rails hit the performance brick wall and moved to something else.

load more comments (2 replies)
[-] librecat@lemmy.basedcount.com 9 points 10 months ago

I use ruby whenever I need a script, it's super easy to work with other commands in ruby IMO.

[-] loudWaterEnjoyer@lemmy.dbzer0.com 11 points 10 months ago

I use Ruby when I need to feel pain.

load more comments (6 replies)
[-] mrkite@programming.dev 9 points 10 months ago

I don't use Ruby anymore, but I still use irb everyday as a command line calculator.

load more comments
view more: next ›
this post was submitted on 22 Feb 2024
942 points (100.0% liked)

Programmer Humor

19883 readers
352 users here now

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

founded 2 years ago
MODERATORS