307
you are viewing a single comment's thread
view the rest of the comments
[-] owzim@lemmy.world 3 points 1 year ago

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.

this post was submitted on 15 Oct 2023
307 points (95.3% liked)

Programmer Humor

32558 readers
485 users here now

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

Rules:

founded 5 years ago
MODERATORS