mirror of
https://github.com/labs42io/clean-code-typescript.git
synced 2024-11-23 05:34:04 +00:00
fix broken link
This commit is contained in:
parent
7aecafe532
commit
263c7a578b
|
@ -744,7 +744,7 @@ Two caveats to mention to this approach:
|
|||
|
||||
1. There might be cases where you actually want to modify the input object, but when you adopt this programming practice you will find that those cases are pretty rare. Most things can be refactored to have no side effects! (see [pure function](https://en.wikipedia.org/wiki/Pure_function))
|
||||
|
||||
2. Cloning big objects can be very expensive in terms of performance. Luckily, this isn't a big issue in practice because there are [great libraries]((https://facebook.github.io/immutable-js/)) that allow this kind of programming approach to be fast and not as memory intensive as it would be for you to manually clone objects and arrays.
|
||||
2. Cloning big objects can be very expensive in terms of performance. Luckily, this isn't a big issue in practice because there are [great libraries](https://facebook.github.io/immutable-js/) that allow this kind of programming approach to be fast and not as memory intensive as it would be for you to manually clone objects and arrays.
|
||||
|
||||
**Bad:**
|
||||
|
||||
|
|
Loading…
Reference in a new issue