this post was submitted on 15 Oct 2023
303 points (95.2% liked)

Programmer Humor

32601 readers
309 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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