You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by user <xx...@rambler.ru> on 2016/07/20 20:30:57 UTC

hardcoded constants in the source code

Hi there! I'm starting to learn the sources of OfBiz. It looks promising for me as ecommerce framework.
What confuses me is the syle of referencing constants. For example, " _LAST_VIEW_NAME_" expression is referenced 114 times.
It means, every single time I forced to make the exact copy&paste of chosen constant.
Is that good way of writing code?