My company’s worst function name is: isProUserish. So that implies that there are some users who are almost pro, but not quite pro? wtf does that even mean?
Like it was "prouser' but then they expanded the definition to be more than just wahtever proUsers are, and someone had the sense to at LEAST go and update the label to reflect it, but it's still not great.
Better than it being "isProUser" but also includes non-pro users. Filthy casuals.
428
u/[deleted] Apr 26 '22
If that's the funniest line then your company's codebase is pretty good.
185
u/Jmc_da_boss Apr 26 '22
This is just a minorly odd way to name a timer, there's nothing "bad" here
60
u/Da-Blue-Guy Apr 26 '22
this doesn’t really seem that bad
the only funny thing is start.stop(), you get those a lot
49
u/_ech_ower Apr 26 '22
My company’s worst function name is: isProUserish. So that implies that there are some users who are almost pro, but not quite pro? wtf does that even mean?
97
u/O_X_E_Y Apr 26 '22
There's really not a single line funnier than this one? Hats off to you and the other devs
92
u/ThatDudeBesideYou Apr 26 '22
I read this line as "find the elapsed time from when this process started running". Is that not what this line is trying to do?
63
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Apr 26 '22
Image Transcription: Code
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
8
u/UtilizedFestival Apr 26 '22
Bruh, that is just some code
7
u/Sicariana Apr 26 '22
I don't get it, can someone explain?
6
u/MCWizardYT Apr 26 '22
The only thing that would make this weird is if
stop()doesn't actually return the elapsed time3
u/RoguerEEE Apr 26 '22
I somehow manage to make my programs wider than they are long. Bad variable names are the least of my worries when it comes to readability
2
u/Express-Librarian833 Apr 26 '22
2
u/rjlin_thk usinged Apr 27 '22
it's not .start().stop() so there is no problem with it
1
u/[deleted] Apr 27 '22
Check out this post for wayy worse names