Skip to content

Commit

Permalink
Merge pull request #3107 from gkepka/java-generics
Browse files Browse the repository at this point in the history
Remove outdated mention of Java having no generics
  • Loading branch information
sjrd authored Nov 18, 2024
2 parents dfb5b04 + 21e4567 commit 2e2a3a6
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 2e2a3a6

Please sign in to comment.