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

Programmer Humor

32396 readers
1646 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] 7 points 1 year ago (2 children)

Exactly. If it's a statically typed language and the function has a clear name? I know what type it is, I know what it's for, I'm good.

There are far worse sins, like intermediate variables or worse, public class members named "obj" or "data".

[–] [email protected] 1 points 1 year ago

GitHub doesn’t show types. So if the value is given to another function you would have no way of knowing what type it is unless you read the file that other function is declared in.