8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0e5d3 commit 824a0abCopy full SHA for 824a0ab
_overviews/scala3-book/domain-modeling-fp.md
@@ -259,7 +259,7 @@ Pizza.price(pizza1)
259
Grouping functionality this way has a few advantages:
260
261
- It associates functionality with data and makes it easier to find for programmers (and the compiler).
262
-- It creates a namespace and for instance let's use `price` as a method name without having to rely on overloading.
+- It creates a namespace and for instance lets us use `price` as a method name without having to rely on overloading.
263
- The implementation of `Topping.price` can access enumeration values like `Cheese` without having to import them.
264
265
However, there are also a few tradeoffs that should be considered:
0 commit comments