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

Programmer Humor

32512 readers
699 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
[–] owzim@lemmy.world 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.

[–] qaz@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

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