Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Optional by Stuart Marks

Автор: Devoxx

Загружено: 2017-04-11

Просмотров: 32435

Описание:

The Optional class was introduced in Java 8 in order to solve a narrow but frequently occurring problem: what to return if you have nothing to return. It is a single class with less than 20 methods, but it turns out to have been one of the most controversial and most misunderstood APIs, having generated several "centithreads" of discussion on OpenJDK mailing lists. Indeed, Brian Goetz (Java Language and Libraries Architect) has mentioned that one aspect of Optional was his biggest mistake in Java 8. Optional is also one of the more widely misused APIs. A brief survey of OpenJDK code revealed several embarrassing examples of Optional usage, and expert Java programmers have admitted to not making the most of this API.

This session covers the history and rationale of Optional, provides recommendations and examples of proper and effective usage, shows several antipatterns and code smells and how to fix them, and finally describes some current and proposed work on Optional for Java 9.

Stuart Marks is a Principal Member of Technical Staff in the Java Platform Group at Oracle. He is currently working on a variety of JDK core libraries projects, including Collections, Lambda, and Streams, as well as improving test quality and performance. As his alter ego "Dr Deprecator" he also works on the Java SE deprecation mechanism. He has previously worked on JavaFX and Java ME at Sun Microsystems. He has over twenty years of software platform product development experience in the areas of window systems, interactive graphics, and mobile and embedded systems. Stuart holds a Master's degree in Computer Science and a Bachelor's degree in Electrical Engineering from Stanford University.

Optional by Stuart Marks

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Optional - The Mother of All Bikesheds by Stuart Marks

Optional - The Mother of All Bikesheds by Stuart Marks

Effective Java, Third Edition Keepin' it Effective (J. Bloch)

Effective Java, Third Edition Keepin' it Effective (J. Bloch)

Новые лучшие практики Java от Стивена Коулборна

Новые лучшие практики Java от Стивена Коулборна

Collections Refueled by Stuart Marks

Collections Refueled by Stuart Marks

Parallel Streams, CompletableFuture, and All That: Concurrency in Java 8

Parallel Streams, CompletableFuture, and All That: Concurrency in Java 8

Java. Для чего нужен Optional?

Java. Для чего нужен Optional?

Collections Corner Cases by Stuart Marks

Collections Corner Cases by Stuart Marks

Clean Lambdas - by Victor Rentea at JBCNConf'17

Clean Lambdas - by Victor Rentea at JBCNConf'17

Опции в Java — простое руководство

Опции в Java — простое руководство

Memory footprint of a Java process by Andrei Pangin

Memory footprint of a Java process by Andrei Pangin

Reactive Programming in Java by Venkat Subramaniam

Reactive Programming in Java by Venkat Subramaniam

Functional Programming with Java 8 by Venkat Subramaniam

Functional Programming with Java 8 by Venkat Subramaniam

What can you learn from thousands of source files in Github?  by Guillaume Laforge

What can you learn from thousands of source files in Github? by Guillaume Laforge

Thinking In Parallel by Stuart Marks and Brian Goetz

Thinking In Parallel by Stuart Marks and Brian Goetz

Concurrency Concepts in Java by Douglas Hawkins

Concurrency Concepts in Java by Douglas Hawkins

Java 8. Lambdas, Stream API, Optional. Java Professional. Урок 15

Java 8. Lambdas, Stream API, Optional. Java Professional. Урок 15

JVM Mechanics by Douglas Hawkins

JVM Mechanics by Douglas Hawkins

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Java's Hidden Gems: Tools and Libraries by Johan Janssen

Java's Hidden Gems: Tools and Libraries by Johan Janssen

CompletableFuture: The Promises of Java

CompletableFuture: The Promises of Java

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]