oasp / oasp4js

OASP4JS deprecated repository
Apache License 2.0
9 stars 161 forks source link

ideas of further coding conventions #95

Open maybeec opened 8 years ago

maybeec commented 8 years ago

This ticket can be seen as experience report and collection under construction, where anybody can introduce and discuss coding conventions.

maybeec commented 8 years ago

I would like to evaluate the angular1/2 style guides by johnpapa. We then should reference this style guide and my make changes based on that.

As an example for change: do not specify a service api by a return object containing function references on top of the service. This confuses newbees and makes code look odd, especially if the service implements further service global variables.