this post was submitted on 25 Feb 2024
360 points (95.9% liked)

Programmer Humor

19551 readers
1364 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] mox@lemmy.sdf.org 6 points 8 months ago (1 children)
[–] treechicken@lemmy.world 5 points 8 months ago (1 children)

Guessing Go? (since no parens on the if statement)

[–] Zangoose@lemmy.one 1 points 8 months ago (1 children)

Could also be rust (no parens on ifs there either), kind of hard to tell with just an if statement and some function calls

[–] paperplane@lemmy.world 1 points 8 months ago* (last edited 8 months ago) (1 children)

or Swift, Rust has semicolons while Swift doesn't

[–] Zangoose@lemmy.one 1 points 8 months ago* (last edited 8 months ago)

Oh true I didn't realize the semicolons were missing (that's what the compiler errors are for)