Skip to content

Commit 746ad80

Browse files
committed
closes #3260
1 parent 477cb58 commit 746ad80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/02-first-steps/04-variables/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ So, we should declare a variable once and then refer to it without `let`.
151151
````
152152

153153
```smart header="Functional languages"
154-
It's interesting to note that there exist [functional](https://en.wikipedia.org/wiki/Functional_programming) programming languages, like [Scala](https://www.scala-lang.org/) or [Erlang](https://www.erlang.org/) that forbid changing variable values.
154+
It's interesting to note that there exist so-called [pure functional](https://en.wikipedia.org/wiki/Purely_functional_programming) programming languages, such as [Haskell](https://en.wikipedia.org/wiki/Haskell), that forbid changing variable values.
155155
156156
In such languages, once the value is stored "in the box", it's there forever. If we need to store something else, the language forces us to create a new box (declare a new variable). We can't reuse the old one.
157157
158-
Though it may seem a little odd at first sight, these languages are quite capable of serious development. More than that, there are areas like parallel computations where this limitation confers certain benefits. Studying such a language (even if you're not planning to use it soon) is recommended to broaden the mind.
158+
Though it may seem a little odd at first sight, these languages are quite capable of serious development. More than that, there are areas like parallel computations where this limitation confers certain benefits.
159159
```
160160

161161
## Variable naming [#variable-naming]

0 commit comments

Comments
 (0)