Skip to content

Commit

Permalink
Update taste-modeling.md
Browse files Browse the repository at this point in the history
Add a comma.
  • Loading branch information
mauicode26 authored Mar 24, 2024
1 parent 970c849 commit c66731a
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 c66731a

Please sign in to comment.