As someone who uses ‘result’ as a variable name in functions all the time, please tell me what you think is wrong with it?

If a function is called for example ‘transformAtoB’ it should be totally obvious what the variable will contain.

qaz
creator
link
fedilink
1
edit-2
1Y

It’s not necessarily bad, it just provides very little information.

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
  • 4 users / day
  • 8 users / week
  • 108 users / month
  • 558 users / 6 months
  • 1 subscriber
  • 899 Posts
  • 3.11K Comments
  • Modlog