this post was submitted on 28 Aug 2024
236 points (98.8% liked)
Programmer Humor
19503 readers
1264 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well its public so who knows in what other package is using it. And it's static, so who know what kind if monster is calling it from some inapropriate place. I have seen static methods being called from translation/localization files, because "it works".
IntelliJ finds most uses in my experience unless you're doing something weird with reflection or similar. And if it's a public facing API only used by the library's consumers..– it should be used in tests at the very least! Especially if it's prone to regressions like the comment suggests
There are only 7 unit test classes. 2 of which I wrote myself this month.
Somebody should tell Albert and the others, they can let this method go.
I already did so an hour ago
UPDATE: It has been merged
https://xkcd.com/1172
You know it's comming.
Alright, this is my first contribution to an open-source project, albeit indirect. I'll drink to that!