this post was submitted on 25 Sep 2024
865 points (87.6% liked)

Programmer Humor

19276 readers
1134 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 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] vzq@lemmy.blahaj.zone 17 points 2 days ago* (last edited 2 days ago) (2 children)

Rust is more like Esperanto isn’t it? It’s Latin, but regularized and with the rough edges sanded off.

Python is more like Spanish. A billion speakers in the world, and really easy to pick up a few phrases, but a small European minority still think they run it.

[–] x0x7@lemmy.world 2 points 1 day ago

If you think Rust has zero rough edges you might have drunk too much kool aid.

load more comments (1 replies)
[–] vga@sopuli.xyz 46 points 2 days ago* (last edited 2 days ago)

PHP is Russian. Used to be huge, caused lots of problems, now slowly dwindling away. Its supporters keep saying how it's still better than the competition.

[–] mexicancartel@lemmy.dbzer0.com 26 points 2 days ago (1 children)

Well latin isn't the root of all modern languages

[–] dejected_warp_core@lemmy.world 6 points 2 days ago (3 children)

Yes, but "Proto Indo-European" doesn't exactly roll off the tongue. /s

[–] nednobbins@lemm.ee 5 points 2 days ago

It isn't even the root of the indo-european languages and the Indo-European languages are just one of many language families around the world.

Source I am from Austria. :)

load more comments (2 replies)
[–] ICastFist@programming.dev 23 points 2 days ago

Java, verbose? laughs in Pascal

Python being Esperanto? Yeah, no, because Python is actually being used

[–] NotAnonymousAtAll@feddit.org 10 points 2 days ago (3 children)

RustyRooster: C is the root of all modern languages

FORTRAN: Am I a joke to you?

[–] hikaru755@lemmy.world 7 points 1 day ago (1 children)

Fortran is Proto-Indo-Germanic or whatever it's called again

[–] tetris11@lemmy.ml 2 points 1 day ago

Lisp (specifically IPL) is Proto-Indo-European. All languages have unwittingly taken inspiration from it

[–] glitchdx@lemmy.world 7 points 2 days ago (1 children)

No grandpa fortran, everybody loves you. Now let's get you back inside with cobol.

load more comments (1 replies)
load more comments (1 replies)
[–] mexicancartel@lemmy.dbzer0.com 19 points 2 days ago

Hearing about Esperanto the first time. Hate itwhen someone copies my idea and does it in 1887

[–] MudMan@fedia.io 159 points 3 days ago (27 children)

I think this thread is meant to flatter programmers and make linguists and sociologists extremely angry.

load more comments (27 replies)
[–] bricklove@midwest.social 43 points 2 days ago

In Soviet Russia memory manages you!

[–] nifty@lemmy.world 90 points 3 days ago* (last edited 3 days ago) (19 children)

Is this post sane-washing Russia? What’s left about Russia under Putin? Overall funny, though

[–] SaharaMaleikuhm@feddit.org 19 points 2 days ago

It's a post by the lemmy dev, so yeah that's a given

load more comments (18 replies)
[–] ZILtoid1991@lemmy.world 16 points 2 days ago

This is highly inaccurate:

D: Esperanto. Highly derivative of C (Latin), designed by people previously writing compilers. It's not being taken seriously as such.

Russian is nowadays being speaken by right-wing authoritarians instead, and any programmer that is auth-right is either coding in C/C++, or a Javascript/Python dev pretending to be a C/C++ dev to "gatekeep" nulangs (sic).

[–] Mad_Punda@feddit.org 102 points 3 days ago (6 children)

I suspect there’s more people who speak Python fluently than Esperanto. So that comparison sits very wrong with me. The rest was funny :)

load more comments (6 replies)
[–] Birbatron@slrpnk.net 61 points 2 days ago* (last edited 2 days ago) (3 children)

the root of all modern languages

the whole universe used to speak it

uhhhhhhhhhhhhhhhhhhhh

P.S: the closest thing to that is Egyptian, but not the language, the Alphabet (the Symbols, not a literal alphabet). Tons of alphabets are descended from Egyptian, including, but not limited to: Greek (and by Proxy Latin, Cyrillic, Georgian, Armenian, Armenian and Armenian (I just noticed this, I'm leaving it in because it's funny)), Arabic (and by proxy- I won't list all that), Hebrew, and Aramaic (and by proxy all Indian languages but one, as well as Tibetan, Phags-pa mongol (and by proxy exactly 5 letters of Hangul), Thai, Lao, Sundanese, and Javanese). There's a lot of dead languages that used scripts derived from Egyptian too but I didn't mention them because I'd be here all day listing stuff like Sogdian or Norse Runes.

[–] Agent641@lemmy.world 30 points 2 days ago* (last edited 2 days ago) (4 children)

BASIC: Am I a joke to you?

load more comments (4 replies)
load more comments (2 replies)
[–] S_H_K@lemmy.dbzer0.com 14 points 2 days ago

Heeeey!!
^^^(snifs ^^^armprit)
...
Fuck....

[–] Juice@midwest.social 54 points 3 days ago* (last edited 3 days ago) (27 children)

Why is everyone down on Rust? Seriously. I don't know it but I've considered learning it and it appeals to me and people literally scoff when I mention it. Saw it referred to as a meme language on Lemmy, which is built in Rust. What am I missing?

[–] vga@sopuli.xyz 2 points 1 day ago* (last edited 1 day ago)

It's like a good C++ that is actually able to replace it. There are lots of places where a good C++ is useful. Like everything that needs low latency and low resource usage.

But it's not an easy language, so (I'm guessing) people who see everyone loving it but are unable to learn it start to suffer some sort of cognitive dissonance. If it's too difficult for me to learn, that must be its fault, not mine.

[–] fl42v@lemmy.ml 23 points 2 days ago

I think ppl just got pissed with the fanboys unironically asking to RIIR everything. The language itself is comfy AF, tho

[–] problematicPanther@lemmy.world 44 points 3 days ago (1 children)

Butthurt C devs don't want it replacing their language.

load more comments (1 replies)
[–] Feyd@programming.dev 31 points 2 days ago (1 children)

I think rust has good ideas and may even become the default systems language in the mid-term. I find it irritating that there is a very vocal subset of rust proponents that tend to insist that every project in every language needs to be rewritten in rust immediately. I suspect that is also why other people are down on rust.

load more comments (1 replies)
load more comments (23 replies)
[–] bonus_crab@lemmy.world 23 points 2 days ago (3 children)

Rust is esperanto because its only actually used by a small group of nerds,

python is russian because everything made in it is unreliable.

load more comments (3 replies)
[–] MonkderVierte@lemmy.ml 14 points 2 days ago

Argh, politics in IT.

[–] mercano@lemmy.world 29 points 2 days ago

It fits, English and JavaScript are both three languages in a trench coat.

[–] Lysergid@lemmy.ml 18 points 2 days ago (11 children)

Can anyone actually tell what exactly complicated in Java? Verbose, maybe it was at some point but I find it very straightforward and easy.

[–] frezik@midwest.social 14 points 2 days ago* (last edited 2 days ago) (4 children)

Its standard library reads like someone's Object Oriented Programming 101 final project, and they probably got a B- for it. Everything works and follows OO principles, but they didn't stop to think about how it's actually going to be used.

Let's try to read a file line-by-line:

BufferedReader reader = new BufferedReader(new FileReader("sample.txt"));
String line = reader.readLine();

We're having to instantiate two objects (FileReader and then BufferedReader) just to get an object that has a readLine() method. Why? Can't BufferedReader take a file name on its own and work it out? Or FileReader just provides readLine() itself?

Not only that, but being parsimonious with what we import would result in:

import java.io.BufferedReader;
import java.io.FileReader;

But we're much more likely to be lazy and import everything with import java.io.*;. Which is sloppy, but I understand.

I can see what they were thinking when separating these concerns, but it resulted in more complexity than necessary.

There's a concept of "Huffman Coding" in language design. The term itself comes from data compression, but it can be generalized to mean that things you do often in a programming language should be short and easy. The above is not good Huffman Coding.

load more comments (4 replies)
[–] dejected_warp_core@lemmy.world 7 points 2 days ago* (last edited 2 days ago)

Java itself is kind of blissful in how restricted and straightforward it is.

Java programs, however, tend to be very large and sprawling code-bases built on even bigger mountains of shared libraries. This is a product of the language's simplicity, the design decisions present in the standard library, and how the Java community chooses to solve problems as a group (e.g. "dependency injection"). This presents a big learning challenge to people encountering Java projects on the job: there's a huge amount of stuff to take in. Were Java a spoken language it would be as if everyone talked in a highly formal and elaborate prose all the time.

People tend to conflate these two learning tasks (language vs practice), lumping it all together as "Java is complicated."

$0.02: Java is the only technology stack where I have encountered a logging plugin designed to filter out common libraries in stack traces. The call depth on J2EE architecture is so incredibly deep at times, this is almost essential to make sense of errors in any reasonable amount of time. JavaScript, Python, PHP, Go, Rust, ASP, C++, C#, every other language and framework I have used professionally has had a much shallower call stack by comparison. IMO, this is a direct consequence of the sheer volume of code present in professional Java solutions, and the complexity that Java engineers must learn to handle.

Some articles showing the knock-on effects of this phenomenon:

load more comments (9 replies)
[–] finitebanjo@lemmy.world 34 points 2 days ago

It's a cool meme but I have many many disagreements.

[–] amuck1924@lemmy.world 35 points 2 days ago (5 children)

I can confidently tell you that no one who actually knows Latin would ever say French is "Latin with fancy rules."

[–] sus@programming.dev 36 points 2 days ago* (last edited 2 days ago)

..which ironically makes for a perfect parallel with "C/C++"

load more comments (4 replies)
[–] panzo@lemy.lol 12 points 2 days ago (2 children)

Assembly is Turk, started everything.

load more comments (2 replies)
[–] Grandwolf319@sh.itjust.works 24 points 2 days ago (1 children)

But people like and appreciate German.

load more comments (1 replies)
[–] kaida@feddit.org 47 points 3 days ago (14 children)

I finally found the real reason why I like java: I‘m german

load more comments (14 replies)
load more comments
view more: next ›