Design Patterns Revisited in Modern Java: Optional, Lambdas, & Purity
Автор: IamTheDevCoder
Загружено: 2025-11-20
Просмотров: 4
Описание:
Join Venkat Subramaniam for a deep dive into design patterns revisited in modern Java, emphasizing their role as a communication tool rather than a starting point for design. This session explores modern practices and anti-patterns for Java developers, including how to use Optional to avoid null checks and Null Pointer Exceptions. The discussion contrasts external and internal iterators and highlights the necessity of maintaining a pure functional pipeline to avoid shared mutability, especially when using parallel execution. Venkat also demonstrates how Lambdas can be used as lightweight strategies and composable functions for the Decorator pattern. Advanced patterns covered include using default methods for the Factory Method pattern and leveraging the Execute Around Method pattern to manage resource allocation and deallocation. The talk concludes by discussing Sealed Interfaces/Classes as a recent Java feature to control class hierarchies.
#DesignPatterns #ModernJava #VenkatSubramaniam #JavaProgramming #Lambdas #Optional #FunctionalProgramming #Purity #Iterators #DecoratorPattern #FluentInterface #SealedClasses #IamTheDevCoder
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: