New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SystemUtil -> ? #774
Comments
|
Name it |
I'd go with MinecraftUtil personally but also kashike is god so Util 👍 |
Util is good, however it does seem like the majority of the functions are system related. System also doesn't necessarily have to mean just the Operating System. Patching Std lib functions, Uuid serialization, and anything with hashing sounds to me as something that technically qualifies as "system utilities". Not the OS system, but the Java system, they're just so low level. Just There are also other naming strageties I've used such as |
Generally, kashike has a lot of wisdom here, so I'd go with Util. |
I personally support |
SystemUtil
contains a bunch of static methods. Some of them relate to a "system":But many others are completely unrelated:
ifPresentOrElse
,thenCombine
,completeExceptionally
,consume
,get
,toMap
, ...)Dynamic
sIt appears to be less of a system-related class and more just a dumping ground for random functions that are too small to break into their own named helper class but too broadly applicable to keep near one call site.
Should this class be renamed?
Some suggestions being thrown around on Discord:
Misc
Util
Useful
Varia
Helper
Etc
Funny comedy suggesions:Junk
Stuff
MiscellaneousGameSystemUtilities
BucketOShi
The text was updated successfully, but these errors were encountered: