RubenVerborgh / JavaScript-Style-Guide

Developing sustainable projects in JavaScript – a style guide
https://rubenverborgh.github.io/JavaScript-Style-Guide/
1 stars 2 forks source link

Let's have a section for principles for functional programming #1

Open megoth opened 5 years ago

megoth commented 5 years ago

I'm ok with object orientation by default (to be clear - I'm ok with either functional or object orientation as a default, either have pros and cons), but we should have a section on principles for functional programming in the cases where it makes more sense to express logic with FP.

I can write a proposal for that section, if wanted, but wanted to raise this issue first to get feedback if this is wanted for this project. (If not wanted here, I will probably write a section on it on https://github.com/inrupt/JavaScript-Guidelines.)

RubenVerborgh commented 5 years ago

Definitely makes sense; could you perhaps sketch a couple of ideas regarding such a section here?

megoth commented 5 years ago

I will create a PR with suggestions once I'm back from vacation ^_^