this post was submitted on 07 Dec 2023
818 points (96.2% liked)

Programmer Humor

19315 readers
74 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
818
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 10 months ago (1 children)

I'm going to have to print out the Go version for all future "it's idiomatic" and "but the community!" debates at work

[–] [email protected] 3 points 10 months ago (1 children)

I'm curious about this but I'm barely a programmer now, so if anyone is up to explain

[–] [email protected] 5 points 10 months ago

The go community is strongly opinionated in unique ways. For example, using libraries is generally frowned upon. You either use something included in the language itself (standard library) or copy/paste the code you wrote in another project. There's also advocacy for shorter variable names which generally seems counter to the normal "write descriptive variable name" mantra.

All in all, I hope the ideas / opinions came from a good place and then some people took them as black & white rules. But they also come off as one or two people's pet peeves who got to build a language around them.