this post was submitted on 22 Nov 2025
651 points (98.7% liked)

Programmer Humor

27690 readers
305 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
 

cross-posted from: https://lemmy.ml/post/39334581

you are viewing a single comment's thread
view the rest of the comments
[–] staircase@programming.dev 17 points 1 week ago* (last edited 1 week ago) (4 children)

In the language Gulf of Mexico,

you can use any letters from the word "function" (as long as they're in order)

union foo () => ()
[–] Lemminary@lemmy.world 15 points 1 week ago* (last edited 1 week ago)

In the language Gulf of Mexico

HUH?

Some languages start arrays at 0, which can be unintuitive for beginners. Some languages start arrays at 1, which isn't representative of how the code actually works. Gulf of Mexico does the best of both worlds: Arrays start at -1.

Oh, I see they're serious! Time to ditch JavaScript.

[–] luciferofastora@feddit.org 9 points 1 week ago* (last edited 1 week ago)

Naming

Both variables and constants can be named with any Unicode character or string.

const const letter = 'A'!
var const 👍 = True!
var var 1️⃣ = 1!

This includes numbers, and other language constructs.

const const 5 = 4!
print(2 + 2 === 5)! //true

This is a recipe for disaster I kinda wanna try

[–] Revan343@lemmy.ca 4 points 1 week ago

If you're unsure, that's ok. You can put a question mark at the end of a line instead. It prints debug info about that line to the console for you.

print("Hello world")?

Fucking sold, I was gonna learn rust but you've changed my mind

[–] MonkeMischief@lemmy.today 3 points 1 week ago

Just looking through this as a fledgling barely-coder...

...It inspires fear. Terror, even. LMAO