On Fri, Nov 14, 2014 at 3:29 PM, Felix Meschberger <fmesc...@adobe.com> wrote:
> But all fields should (I’d even say must) be private and only be accessible 
> through getters. All non-private fields make it close to impossible to ever 
> refactor these fields. Add to it having the containing classes be exported as 
> API and you get implementation lock-in.

Ack. Makes sense and as Michael mentioned that this class is not
suitable to be exposed as part of API due such reasons only

> An interface is something you implement to expose a behaviour. An interface 
> sporting constants is not defining behaviour. Therefore a „container“ for 
> constants should not be an interface.

Ack. I knew that I would get negative marks from you for defending
that when I sent that mail :)

Chetan Mehrotra

Reply via email to