Skip to content

Commit

Permalink
Remove outdated mention of Java having no generics
Browse files Browse the repository at this point in the history
  • Loading branch information
gkepka committed Nov 18, 2024
1 parent dfb5b04 commit 21e4567
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions _overviews/tutorials/scala-for-java-programmers.md
Original file line number Diff line number Diff line change
Expand Up @@ -1150,11 +1150,7 @@ scope of this document.
## Genericity

The last characteristic of Scala we will explore in this tutorial is
genericity. Java programmers should be well aware of the problems
posed by the lack of genericity in their language, a shortcoming which
is addressed in Java 1.5.

Genericity is the ability to write code parametrized by types. For
genericity. Genericity is the ability to write code parametrized by types. For
example, a programmer writing a library for linked lists faces the
problem of deciding which type to give to the elements of the list.
Since this list is meant to be used in many different contexts, it is
Expand Down

0 comments on commit 21e4567

Please sign in to comment.