News for hackers. Stuff that matters.
Re:Things I Learnt from a Senior Software Engineer by cwbrandsma on Sunday August 25, 2019 @06:46PM (#20796115)
I needed to wrap the code that handled thread management that I use in Swift. I called the component Threader, and in the comments I mention I named it after the TMNT character Shredder.

Two things came from that: I have gotten a chuckle from all the developers I introduced to that code, and no one has forgotten about it.

Some humor is useful.

Re:Things I Learnt from a Senior Software Engineer by xmprt on Sunday August 25, 2019 @10:10PM (#20796964)
That's nice when the team is small and everyone knows what the code does, but when new members start joining and you have all these inside jokes/references all over the code, it becomes more cumbersome than anything to explain what it is. I enjoy humor but keep it to a minimum and hopefully don't impact the actual readability.
Re:Things I Learnt from a Senior Software Engineer by mattkrause on Sunday August 25, 2019 @10:38PM (#20797055)
The trick here (and in someone else’s “Thrilla in Mozilla”) is that you don’t need to understand the humor or reference to understand the code. It’s just a nice little bonus, since threader is already a perfectly reasonable[0] name.

This is different from insisting that helper functions in brains.c be of type pinkyfunc_t.

[0] I was tempted to undercut my own point and write cromulent there instead.