this post was submitted on 27 Feb 2025
369 points (97.7% liked)

Programmer Humor

20815 readers
1554 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 62 points 1 day ago* (last edited 1 day ago) (5 children)

rustfmt

is stopping me from writing code like this, and I have never been more happier using it after viewing this.

[–] [email protected] 49 points 22 hours ago (4 children)

I'm going to write a tool that automatically adds the braces and semicolons to the column as you edit the code.

I will call it rustfml

[–] [email protected] 6 points 22 hours ago (1 children)

Crap, thats what I was thinking.

[–] [email protected] 6 points 18 hours ago (1 children)

It could be run after git checkout and then rustfmt before commit.

[–] [email protected] 2 points 18 hours ago

Slow down satan

load more comments (2 replies)
load more comments (2 replies)