Skip to content

Commit

Permalink
Merge pull request #2998 from muzucode/patch-1
Browse files Browse the repository at this point in the history
Update taste-modeling.md
  • Loading branch information
Philippus authored Mar 24, 2024
2 parents 970c849 + c66731a commit 097c4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _overviews/scala3-book/taste-modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ If not, don’t worry, they’re explained in more detail in the [Domain Modelin
### Classes

Scala _classes_ are used in OOP-style programming.
Here’s an example of a class that models a “person.” In OOP fields are typically mutable, so `firstName` and `lastName` are both declared as `var` parameters:
Here’s an example of a class that models a “person.” In OOP, fields are typically mutable, so `firstName` and `lastName` are both declared as `var` parameters:

{% tabs class_1 class=tabs-scala-version %}
{% tab 'Scala 2' for=class_1 %}
Expand Down

0 comments on commit 097c4f9

Please sign in to comment.