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
Post a Comment