I grew up in a bit of a sketchy neighborhood and up until my late 20’s all my jobs were the sort where everybody cursed a lot, plus Finns tend to curse a lot in general.
I absolutely have not kept my cursing out of repositories, although looking at my last work project which had about 33000 lines all in all (maybe 2/3 written by me) when including comments, I was surprised to find that only 4 had “shit” and 6 had “fuck”. One line in an example & test file had both:
// - turn the unsafe.Pointer into a *[8]byte, allowed due to unsafe pointer fuckery// FIXME: this is just to make cli tool usage easier. It's a horrible fucking hack and should be// nuked from orbit// FIXME: get rid of all this gorilla legacy bullshit. Could start by getting rid of the needless// Interface type
Yeah, that’s the kind of thing I did only more often. Plus it was back when the conventional wisdom was that 50% of source code should be comments. So there was a LOT.
I grew up in a bit of a sketchy neighborhood and up until my late 20’s all my jobs were the sort where everybody cursed a lot, plus Finns tend to curse a lot in general.
I absolutely have not kept my cursing out of repositories, although looking at my last work project which had about 33000 lines all in all (maybe 2/3 written by me) when including comments, I was surprised to find that only 4 had “shit” and 6 had “fuck”. One line in an example & test file had both:
zap.NewExample().Sugar().Errorw("welp, shit's fucked", "IsBadRequest", IsBadRequest(err), Field(err))
and then there’s some comments like
// - turn the unsafe.Pointer into a *[8]byte, allowed due to unsafe pointer fuckery // FIXME: this is just to make cli tool usage easier. It's a horrible fucking hack and should be // nuked from orbit // FIXME: get rid of all this gorilla legacy bullshit. Could start by getting rid of the needless // Interface type
Yeah, that’s the kind of thing I did only more often. Plus it was back when the conventional wisdom was that 50% of source code should be comments. So there was a LOT.
Honestly I would love to work on a codebase full of profanity, let me know I’m not alone in my anger towards an inanimate object
Also would help make it feel less corporate