Skip to content

Commit

Permalink
Update lib/elixir/pages/anti-patterns/design-anti-patterns.md
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Sep 23, 2023
1 parent d9e98b6 commit 22efadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/pages/anti-patterns/design-anti-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ defmodule OrderItem do
end
```

This refactoring is only possible when you own both modules. If the module you are invoking belongs to another application, then it is not possible to change, and your only option is to define an additional module to augment the third-party module.
This refactoring is only possible when you own both modules. If the module you are invoking belongs to another application, then it is not possible to add new functions to it, and your only option is to define an additional module that augments the third-party module.

## Excessive side-effects

Expand Down

0 comments on commit 22efadd

Please sign in to comment.