Indeed. I personally like this pattern, where an interface is used to group constants without actually implementing that interface. It reduces boilerplate, adds focus on the constants, and due to the namespacing adds meaning to the code.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Indeed. I personally like this pattern, where an interface is used to group constants without actually implementing that interface. It reduces boilerplate, adds focus on the constants, and due to the namespacing adds meaning to the code.