Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 55cb5ac

Browse files
Merge pull request #20 from GabeAtWork/patch-2
README: propose clarification in ref. transparency
2 parents bdc429a + 9d3416e commit 55cb5ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ const x = await question('What is your name?')
192192
const y = x
193193
```
194194

195-
As you can see refactoring a program including non-referentially transparent expressions might be challenging.
195+
The answer is: there's no way to know without reading `question`'s _implementation_.
196+
197+
As you can see, refactoring a program including non-referentially transparent expressions might be challenging.
196198
In functional programming, where every expression is referentially transparent, the cognitive load required to make changes is severely reduced.
197199

198200
## Composition

0 commit comments

Comments
 (0)