From 9bda724a6800e53f2089d67a7495d1d5926dfd36 Mon Sep 17 00:00:00 2001 From: Scott Picquerey Date: Fri, 1 Apr 2022 10:00:29 +0200 Subject: [PATCH] Update wording --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed8c0ed..2a37085 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ yarn test[:watch] exoN The exercices are organized into `exoN` folders and most of what is required to complete each is detailed in the comments. -## fp-ts typescript style guide +## code style guide - Use `flow` instead of `pipe` when possible @@ -41,7 +41,7 @@ const myFunc = flow(getUserName, formatUserName); ``` - Avoid using `boolean` method `match` when unecessary - > Why? boolean.match can reduce the global understanding of a method and enforce nested pipes. Using classic `if/else` is often the best option + > Why? boolean.match can lower the global understanding of a method and enforce nested pipes. Using classic `if/else` is often the best option ```typescript // Bad