this post was submitted on 26 Jul 2023
578 points (96.9% liked)

Programmer Humor

32380 readers
425 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 34 comments
sorted by: hot top controversial new old
[–] MyFairJulia@lemmy.world 63 points 1 year ago (1 children)

Missed the opportunity to draw in a teapot for HTML.

[–] waspentalive@lemmy.one 27 points 1 year ago* (last edited 1 year ago)

Error 418

spoilerI am not a teapot.

[–] starman@programming.dev 55 points 1 year ago* (last edited 1 year ago) (3 children)

C#: So you just took java's essay and changed the name?

/s

[–] OrangeXarot@sh.itjust.works 16 points 1 year ago

remove the /s switch, it's funnier

[–] amio@kbin.social 16 points 1 year ago (1 children)

This, but unironically. That is basically exactly how it started (after "J#" IIRC), minus a few wrinkles ironed out because if you're reinventing the wheel, might as well try not to make the same flaws the old one had. Of course things branched out from there and C# has been a very different beast from Java since the 2000s.

[–] dan@upvote.au 5 points 1 year ago

I the beginning, C# was basically "Java, the good parts", developed from scratch as a new language though. J# was developed in parallel as a replacement for Visual J++, and could run essentially unmodified Java code.

At a previous workplace, we had projects that were combined C# and J# projects. It was a bit strange.

[–] MyFairJulia@lemmy.world 4 points 1 year ago (1 children)

No sir, i also copied stuff from C++, C, Haskell and Delphi.

[–] Ineocla@lemmy.ml 2 points 1 year ago

Welp the man behind c# also created Delphi so technically he didn't copy

[–] vickychen@lemmy.world 38 points 1 year ago (3 children)

Latex creates the most beautiful documents

[–] Magister@lemmy.world 24 points 1 year ago (2 children)

It's incredible, I remember in the 90s in university, some students were king of Latex and made incredible beautiful paper full of complicated mathematical formula and such

[–] Isbjerg@feddit.dk 27 points 1 year ago (1 children)
[–] senicar@social.cyb3r.dog 21 points 1 year ago

The best feedback I ever got on an assignment in grad school was "wow, your homework looks like a textbook!"

It may not always be correct, but it's always pretty!

[–] darcy@sh.itjust.works 2 points 1 year ago
[–] RogueTyre@lemmy.world 3 points 1 year ago

Definitely but such a bitch to use. Why do I have to learn literally a new language to finish my shitty 4 page labs report...

[–] darcy@sh.itjust.works 2 points 1 year ago
[–] Anticorp@lemmy.ml 23 points 1 year ago

Unix Shell is spot on.

[–] Hephoh2@feddit.de 21 points 1 year ago (1 children)

The C++ one doesn't make sense

[–] JakenVeina@lemm.ee 21 points 1 year ago (1 children)

I think templates is what he's making fun of.

[–] Valmond@lemmy.world 4 points 1 year ago (1 children)

How so, templates make for less code usually? Or like template meta prog?

I'm a C++ dev and I'm lost on this one :-p plz send help

[–] Phrodo_00@kbin.social 3 points 1 year ago (1 children)

I think it's because each template specialization works kind of like a new copy of a class.

[–] Valmond@lemmy.world 1 points 1 year ago

Still not getting it, I mean you don't even get to see the code? IDK

[–] akash_rawal@lemmy.world 15 points 1 year ago

Go: Why is your every second sentence a caution?

[–] SexualPolytope@lemmy.sdf.org 14 points 1 year ago* (last edited 1 year ago) (1 children)

Rust: Use of moved value. Type Paper does not implement the Copy trait.

[–] darcy@sh.itjust.works 1 points 1 year ago

um more like Rust: Sir this is a very good memory-safe Essay you get 100% Grades!!!! 😎😎😎😎😎

[–] glibg10b@lemmy.ml 12 points 1 year ago* (last edited 1 year ago) (1 children)

I don't get the HTML one. Is it a reference to HTTP 418?

[–] drcouzelis@lemmy.zip 13 points 1 year ago (1 children)

I think the joke is that HTML isn't a REAL programming language.

"This isn't even a paper... this is a flower pot."

[–] kboy101222@lemm.ee 2 points 1 year ago

I think a better analogy would be making HTML look like one of those template thingies people use for bullet journals

[–] nawordar@lemmy.ml 10 points 1 year ago (1 children)

UNIX Shell should be about quoting issues

[–] some_guy@lemmy.sdf.org 2 points 1 year ago

Can I quote you on that?

[–] PeriodicallyPedantic@lemmy.ca 7 points 1 year ago (2 children)

Language snobs be like

Java is too verbose, Assembly is best 🥴

Ok nobody actually wants to write Assembly, but that's still what they sound like. Optimizing for number of characters you'd have to type if you used a text editor instead of an IDE, and dumb shit like that.

[–] stingpie@lemmy.world 2 points 1 year ago

I like to program assembly. It's kinda fun to juggle around registers, and it feels really gratifying to to see it running at the fastest speed possible.

[–] grue@lemmy.ml 1 points 1 year ago

The Java hate is not about wanting to type fewer characters; it's about FactoryFactory-type boilerplate nonsense adding conceptual bloat that obscures what the unit of code is actually trying to accomplish.

[–] Andrew15_5@mander.xyz 4 points 1 year ago

Typst should be next

[–] nothendev@sopuli.xyz 0 points 1 year ago

418 Im a teapot

load more comments
view more: next ›