37
submitted 1 year ago* (last edited 1 year ago) by Ategon@programming.dev to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] verstra@programming.dev 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.

[-] JackbyDev@programming.dev 1 points 1 year ago

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

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

Programmer Humor

19198 readers
964 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