FizzyFlow / Flow

:ocean: The Flow. Smart money blockchain written in javascript
GNU Affero General Public License v3.0
2 stars 1 forks source link

Code style guides #18

Open banguit opened 6 years ago

banguit commented 6 years ago

I want to suggest sticking to the code style for all our codebase. As example for JavaScript we can use Google JavaScript Style Guide https://google.github.io/styleguide/jsguide.html. Any thoughts on this?

jeka-kiselyov commented 6 years ago

Looks good overall, but I don't get why they mix js and closure things there. Like goog.require etc. Am I missing something?

banguit commented 6 years ago

The Google Closure Library is a standard library in Google and this guide oriented for Google-sponsored open source projects, where it is very often used.

jeka-kiselyov commented 6 years ago

Last time I checked this, AirBnb's one was good: https://github.com/airbnb/javascript very similar though.

jeka-kiselyov commented 6 years ago

Another nice list to check: https://github.com/i0natan/nodebestpractices