From 21e4567ac5516769a815632bf56657b3dc304285 Mon Sep 17 00:00:00 2001 From: gkepka Date: Mon, 18 Nov 2024 09:25:06 +0100 Subject: [PATCH] Remove outdated mention of Java having no generics --- _overviews/tutorials/scala-for-java-programmers.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/_overviews/tutorials/scala-for-java-programmers.md b/_overviews/tutorials/scala-for-java-programmers.md index ac31c42dd0..201feb2467 100644 --- a/_overviews/tutorials/scala-for-java-programmers.md +++ b/_overviews/tutorials/scala-for-java-programmers.md @@ -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