Andrew Gallagher on Nostr: The worst thing about #golang is how often you have to type the `if err != nil { ...
The worst thing about #golang is how often you have to type the `if err != nil { return nil, err }` boilerplate. If I could change just one thing, that would be it. Go’s other problems pale into insignificance in everyday usage.
Published at
2025-01-21 14:50:03Event JSON
{
"id": "9fff55c4bca85e515f23795019ac98624c3210fcd288a370fed244e2cb3ce8e0",
"pubkey": "761b9a2018447d7df5cfd17f4ade117f90e8f2335d5f8012ade48b5d1d0c1480",
"created_at": 1737471003,
"kind": 1,
"tags": [
[
"t",
"golang"
],
[
"proxy",
"https://mastodon.ie/users/andrewg/statuses/113866899688038285",
"activitypub"
]
],
"content": "The worst thing about #golang is how often you have to type the `if err != nil { return nil, err }` boilerplate. If I could change just one thing, that would be it. Go’s other problems pale into insignificance in everyday usage.",
"sig": "dd5efb1eb65042b9ac21fb3c50066733ae9fd1a6db0ccf0e0bc62f48d0c4144ab9fed14d6ee1ab2b5f45b4c7e6772333579f468020896c2d535f614401270ce5"
}