this post was submitted on 27 Feb 2025
404 points (97.9% liked)

Programmer Humor

22235 readers
707 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] 72 points 1 month ago* (last edited 1 month 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] 62 points 1 month 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] 11 points 1 month ago (2 children)

Crap, thats what I was thinking.

[–] verstra 10 points 1 month ago (1 children)

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

[–] [email protected] 5 points 1 month ago

Slow down satan

load more comments (1 replies)
load more comments (1 replies)