this post was submitted on 06 Jul 2025
22 points (72.9% liked)

Programmer Humor

37159 readers
147 users here now

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

Rules:

founded 5 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] NorthWestWind@lemmy.world 13 points 6 days ago (1 children)

Brainfuck would like to have a word

[–] Ephera@lemmy.ml 8 points 6 days ago

The last one seems to be mostly like Brainfuck, just with different capitalizations of "moo": https://esolangs.org/wiki/COW

[–] barubary@infosec.exchange 8 points 6 days ago (2 children)

@devilish666 C++ (non-stupid):

#include <stdio.h>
int main() {
puts("Hello, world!");
}

[–] fushuan@lemmy.blahaj.zone 2 points 6 days ago

There is nothing wrong with cout, way better than the java long ass sentence.

[–] data1701d@startrek.website 2 points 6 days ago

Yeh. They really did C++ unnecessarily dirty.

[–] data1701d@startrek.website 4 points 6 days ago

I spent 4-6 hours the other day trying to figure out the equivalent of Hello World for a MediaWiki parser function extension.

In theory, they have a quick start guide, but that documentation has so many errors, and I spent ages jumping between PHP and a JSON configuration file I barely understood.

At least it's working now. Now time to figure out how the heck to properly interact with the MediaWiki database!

(Perhaps once I'm a bit more confident in MediaWiki development, I'll see if I can tidy up some that documentation.)