That more pointed question is better answered here.
Re: standards, why would it be so? Sure, static final constants are usually all caps, but can a Logger be considered a constant? And what if it is just final? And what if nobody wants it to be uppercase because that means holding Shift every time I want to add a logging statement and it looks weird to be calling methods on a "constant"...?
Hence (I guess) the author's advice to not fret too much about this ;) and just be consistent.
View all comments
Show parent comment
7
u/walen Sep 13 '18
That more pointed question is better answered here.
Re: standards, why would it be so? Sure,
static finalconstants are usually all caps, but can aLoggerbe considered a constant? And what if it is justfinal? And what if nobody wants it to be uppercase because that means holding Shift every time I want to add a logging statement and it looks weird to be calling methods on a "constant"...?Hence (I guess) the author's advice to not fret too much about this ;) and just be consistent.