Java: Is creating a "System" class a bad thing? -


i started project in java, contains class called system. class (luckily) contains methods output management, in rare cases need use system. methods (or system object in general) reference java.lang.system.. believe looked down upon, system looked @ reserved name. in beginning stages of program, , change accordingly quickly, there little calls class itself.

while it's not illegal, don't want this. if next person working on code, first thing try remove "java.lang" "java.lang.system" , miffed when wouldn't compile.

the idea go toward brevity , write need write, while making sense of next person. it's more art science.

you name projectnameheresystem or outputmanager or effect.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -