394
you are viewing a single comment's thread
view the rest of the comments
[-] Limitless_screaming@kbin.earth 13 points 4 days ago

In Rust and lots of other languages you have to end each statement with a semicolon. The semi colon is usually placed right after the statement, but in this example there's indentation after each statement before the semicolon so they're all aligned.

There's also the curly brackets, they're padded in the same way, but those usually define where a scope (block) starts and ends making it even worse.

this post was submitted on 27 Feb 2025
394 points (97.8% liked)

Programmer Humor

20887 readers
1500 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