this post was submitted on 13 Jun 2023
28 points (96.7% liked)

Programmer Humor

19154 readers
2012 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
28
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago
[–] [email protected] 2 points 1 year ago

What happens when you give a python programmer java

[–] [email protected] 2 points 1 year ago (1 children)

ok cool do whatever you want. Imma put in a pre-commit hook to auto format everything.

[–] [email protected] 1 points 1 year ago

im gonna install my own reformatter to reformat it back on my machine, win-win

[–] [email protected] 1 points 1 year ago

Alright, time to update my team's linters and formatters...

[–] [email protected] 1 points 1 year ago

I strongly believe that code formatting does not hold any information and that because of it, compilers should reject non-normalized code, saying "run a formatter first". We have the tooling for most of the languages to make this absolutely painless, remove all head scratching of "what the hell is up with this code style" and just focus of the semantics. I believe that you should be allowed to produce code abominations like this code sample and have it auto-formatted into the code style that everyone can easily interpret.

[–] [email protected] 1 points 1 year ago

You monster.

[–] [email protected] 1 points 1 year ago

I actually winced

[–] [email protected] 1 points 1 year ago

I hate it so much

[–] [email protected] 1 points 1 year ago

That makes me physically uncomfortable. 😬

[–] [email protected] 1 points 1 year ago