Hot take: Even these ‘useless’ comments help, since they relieve you of the burden of reading the code itself, even if it’s trivial. One line of English is easier to parse than one line of trivial code.

Yep.

But reading one outdated line of English is worse than reading 5 lines of code and seeing the true picture.

pizzaboi
link
fedilink
81Y

Or, if you’re my manager, there’s just one comment at the top that says “for pizza”

@bleistift2@feddit.de
link
fedilink
English
21Y

I don’t feel like “ditch comments” is the right solution to “we {forget, don’t care enough} to update comments”.

Exactly! Maybe i’ve never seen a Pizza Box before. For you your code may be trivial. But for someone else an “open before eating” helps a lot.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog