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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -