Designing functional and fluent API: example of the Visitor Pattern by José Paumard
Among the patterns from the GoF, the Visitor is probably the more complex to implement. One of the difficulties is that you need to implement it in your object model, leading to complex refactoring for legacy applications.
Based on the use of all the nifty tools brought by functional programming: chaining, composition, and partial application, you can implement Visitors without having to change your object model, using a functional and fluent API.
This approach can be used to implement other patterns: Builder and Validator. Using this way of designing API leads to readable and robust code, designed following the GoF patterns.
Passionate about programming computers for over 20 years, Jose made his debut in assembler and C, C for SIMD parallel machines before adopting Java as an object-oriented language, indispensable to most major modern applications. He brings his expertise and capacity for analysis and synthesis to many projects, mainly in the lower layers, close to the data, but also on complex UI design, or in the browser. PhD in applied maths and computer science, assistant professor in Paris North University for 20 years, Java Champion, Java Rockstar, Jose also has a passion for education and knowledge transfer. He gives talks in major international Java conferences (JavaOne in San Francisco, Devoxx in Antwerp, Paris and London). He wrote numerous technical articles on Java technologies for Java Magazine, Oracle Technolgy Network. He writes a blog, Java le soir, French documentary source on Java technologies for thousands of french speaking developers around the world. He is a member of the french Paris Java User Group, and has been a co-organizer of the conference Devoxx France for three years.
Видео Designing functional and fluent API: example of the Visitor Pattern by José Paumard канала Devoxx
Based on the use of all the nifty tools brought by functional programming: chaining, composition, and partial application, you can implement Visitors without having to change your object model, using a functional and fluent API.
This approach can be used to implement other patterns: Builder and Validator. Using this way of designing API leads to readable and robust code, designed following the GoF patterns.
Passionate about programming computers for over 20 years, Jose made his debut in assembler and C, C for SIMD parallel machines before adopting Java as an object-oriented language, indispensable to most major modern applications. He brings his expertise and capacity for analysis and synthesis to many projects, mainly in the lower layers, close to the data, but also on complex UI design, or in the browser. PhD in applied maths and computer science, assistant professor in Paris North University for 20 years, Java Champion, Java Rockstar, Jose also has a passion for education and knowledge transfer. He gives talks in major international Java conferences (JavaOne in San Francisco, Devoxx in Antwerp, Paris and London). He wrote numerous technical articles on Java technologies for Java Magazine, Oracle Technolgy Network. He writes a blog, Java le soir, French documentary source on Java technologies for thousands of french speaking developers around the world. He is a member of the french Paris Java User Group, and has been a co-organizer of the conference Devoxx France for three years.
Видео Designing functional and fluent API: example of the Visitor Pattern by José Paumard канала Devoxx
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Understanding The Visitor Design Pattern](https://i.ytimg.com/vi/TeZqKnC2gvA/default.jpg)
![Lambdas and Streams Master Class Part 1 José Paumard, Stuart Marks voxxed](https://i.ytimg.com/vi/ePXnCezwRuw/default.jpg)
![](https://i.ytimg.com/vi/_odQElMOTC4/default.jpg)
![Understand Abstract Syntax Trees - ASTs - in Practical and Useful Ways for Frontend Developers](https://i.ytimg.com/vi/tM_S-pa4xDk/default.jpg)
![A Visual Introduction to Inner Workings of the JVM - Douglas Hawkins](https://i.ytimg.com/vi/4inUbVcLH8U/default.jpg)
![System Design (TPM) Mock Interview: Twitter API](https://i.ytimg.com/vi/k-E4YdEs8qM/default.jpg)
![Why Elixir Matters: A Genealogy of Functional Programming](https://i.ytimg.com/vi/cWAHpvkh8Vs/default.jpg)
![Let's make a contract: the art of designing a Java API by Mario Fusco](https://i.ytimg.com/vi/QtRhQ2PLwDI/default.jpg)
![The Art Of Clean Code by Victor Rentea](https://i.ytimg.com/vi/J4OIo4T7I_E/default.jpg)
![Common mistakes made in Functional Java by Brian Vermeer](https://i.ytimg.com/vi/vuFCTdywMtE/default.jpg)
![Visitor Design Pattern](https://i.ytimg.com/vi/pL4mOUDi54o/default.jpg)
![Fluent Builder Design Pattern](https://i.ytimg.com/vi/PBIM67J4RJQ/default.jpg)
![Beyond ByteBuffers by Brian Goetz](https://i.ytimg.com/vi/iwSCtxMbBLI/default.jpg)
![Convert Java to JSON & JSON to Java Object | Parse JSON in Java | ObjectMapper in Jackson API](https://i.ytimg.com/vi/pv1VCFWTP-I/default.jpg)
![Core Design Principles for Software Developers by Venkat Subramaniam](https://i.ytimg.com/vi/llGgO74uXMI/default.jpg)
![Go Behavioral Patterns : Visitor Design Pattern | packtpub.com](https://i.ytimg.com/vi/dcU1fvZ6eHQ/default.jpg)
![Java Generics Tutorial](https://i.ytimg.com/vi/h7piyWnQbZA/default.jpg)
![Validating requests with FluentValidation | ASP.NET Core 5 REST API Tutorial 21](https://i.ytimg.com/vi/Ut6mRRFT2vM/default.jpg)
![The Good, the Bad and the Ugly of Java API design. Miro Cupak, Dnastack](https://i.ytimg.com/vi/bVNZMEvplY4/default.jpg)
![The JVM and Docker. A good idea? by Christopher Batey](https://i.ytimg.com/vi/6ePUiQuaUos/default.jpg)