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

Programmer Humor

37539 readers
161 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] aksdb@feddit.de 4 points 2 years ago

Yup, I also do that. If I just need a variable to put in what will be returned, I call it result. What it means should be clear from the function name. Repeating that feels redundant.