Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
devonpis committed May 3, 2022
1 parent 222938c commit 5300a65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,11 @@ mvn com.github.eirslett:frontend-maven-plugin:npm@storybook

## Coding practice

### Functional programming pattern
### Functional programming pattern VS OOP pattern

This project is using FP (Functional programming) pattern instead of OOP (Object Oriented Programming) pattern.
The custom component library under `src/components` is using OOP (Object Oriented Programming) pattern. As we are extending formio.js components which are already written with this pattern.

Other part of the project is using FP (Functional programming) pattern instead of OOP (Object Oriented Programming) pattern.

This comment has been minimized.

Copy link
@duttonw

duttonw May 3, 2022

Member

Please include reason and cross link to a good doc on functional programming.


https://tsh.io/blog/7-reasons-to-use-functional-programming-on-frontend-1-2/
https://medium.com/@bananicabananica/functional-programming-on-frontend-86d5b5fcf5a8
Expand Down

0 comments on commit 5300a65

Please sign in to comment.