@fribbledom Close, but one of the labels should be outdated and/or wrong

@fribbledom

real function, real comment:

public void algorithm() {
// commence algorithm!!!!11!1!

@fribbledom Crap code doesn't magically become better by commenting it 😛 There's a very high probability that if I write crap code, I'll also write crap comments 😜

@fribbledom Yeah, that's about right. I've read some that are really funny, though. The code comments of those OpenGL screensavers by Jamie Zawinski are pretty funny.

@fribbledom Sometimes I literally wrote a comment for PBASIC that has the equivalent C code on it.

@fribbledom This is not unlike the lettering of the Snake Society from #RickAndMorty S04E05

@fribbledom My pet peeve. I'm a programmer; I don't (usually) need comments to tell me what the code *does*. I want to know why it's there, what it accomplishes in the grand scheme of things.

@fribbledom
$sproket->frickin($var);
//Frickin()s the sproket with $var, needed for special cases

@fribbledom do you know the origin of this picture. I’d like to use it in a lecture once but I’d need a reference!

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!