Skip to content
Green Luo edited this page Jan 15, 2016 · 6 revisions

Coding Convention

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.

Naming space

I use several single or double characters to set up the namespace for classes/utilities/functions:

The dollar [$]

namespace for the following classes/utilities:

C

namespace for collection classes/utilities

E

namespace for Exception utilities

S

namespace for String utilities

N

namespace for Number utilities

IO

namespace for Input/Output utilities

Clone this wiki locally