this post was submitted on 13 Jun 2023
36 points (97.4% liked)

Programmer Humor

19512 readers
630 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
36
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

What happens when you give a python programmer java

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

Somebody is way too used to Python I see

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

That makes me physically uncomfortable. 😬

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

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

[–] [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] 2 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

I actually winced

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

MYYYYY EEEEEEEYYYYYYYYEEEEEEEESSSSSS

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

Thats one angry python developer

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

When you really like the python style

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

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

Yeah, I like that new languages like Go and to a lesser extent Rust have formatters bundled.

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

You monster.

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

I hate it so much

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

Honestly, I kinda like it.

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

I think it looks nice but I can't imagine using it effectively