Cruising Along with Java:

@venkats

On the example Page 14, why adding the type for the call to reversed, that is:

    List<String> languages =
            List.of("Java", "Kotlin", "Scala", "Groovy", "Clojure", "JRuby");
    languages.stream()
            .sorted(comparing(name -> name.length()).**<String>**reversed())
            .forEach(System.out::println);

does not desambiguate the type for name?