-
Notifications
You must be signed in to change notification settings - Fork 18
convention
Green Luo edited this page Jun 28, 2015
·
6 revisions
I am fan of minimalism and I love expressive coding (with certain context established of course). I love Java but not in fond of it's verbose coding style. So I tried to bring in expressive way of coding Java into my daily programming life. OSGL is one of my effort reflect the intention.
I am aware that many Java programmer especially those very senior person with traditional J2EE experiences wont' vote for my coding style in OSGL. If you are fortunately one of them then probably OSGL is not your cup of tea.
I use several single or double characters to set up the namespace for classes/utilities/functions:
- The underscore _: namespace for the following classes/utilities ** Function interfaces ** Array manipulations ** Types and Instances ** Equal/hashCode/toString ** System methods
- C: namespace for collection classes/utilities
- S: namespace for String utilities
- N: namespace for Number utilities
- IO: namespace for Input/Output utilities