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:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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".
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.