Cargando…

G ∘ F Patterns

<!--HTML-->The book of design patterns known as Gang of Four has been a kind of Bible for all the developers of my generation. Its main pro has been giving us a common vocabulary: when a programmer says “here I used a strategy pattern” all colleagues know of what he is speaking about. Neverthe...

Descripción completa

Detalles Bibliográficos
Autor principal: Fusco, Mario
Lenguaje:eng
Publicado: 2017
Materias:
Acceso en línea:http://cds.cern.ch/record/2254132
_version_ 1780953605814091776
author Fusco, Mario
author_facet Fusco, Mario
author_sort Fusco, Mario
collection CERN
description <!--HTML-->The book of design patterns known as Gang of Four has been a kind of Bible for all the developers of my generation. Its main pro has been giving us a common vocabulary: when a programmer says “here I used a strategy pattern” all colleagues know of what he is speaking about. Nevertheless the biggest issue with this is that almost all patterns listed in that book, especially the behavioural ones, are a only workaround for a missing abstraction: higher order functions. The introduction of lambda expressions in Java 8 finally allows all Java developers to remove this no longer necessary and cumbersome object oriented infrastructure from their code. The purpose of this talk is showing, through a series of live coding examples, how the most common GoF patterns can be rethought and reimplemented in a simpler and more concise functional way leveraging Java 8 lambdas.
id cern-2254132
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2017
record_format invenio
spelling cern-22541322022-11-02T22:10:23Zhttp://cds.cern.ch/record/2254132engFusco, MarioG ∘ F PatternsVoxxed Days CERNConferences<!--HTML-->The book of design patterns known as Gang of Four has been a kind of Bible for all the developers of my generation. Its main pro has been giving us a common vocabulary: when a programmer says “here I used a strategy pattern” all colleagues know of what he is speaking about. Nevertheless the biggest issue with this is that almost all patterns listed in that book, especially the behavioural ones, are a only workaround for a missing abstraction: higher order functions. The introduction of lambda expressions in Java 8 finally allows all Java developers to remove this no longer necessary and cumbersome object oriented infrastructure from their code. The purpose of this talk is showing, through a series of live coding examples, how the most common GoF patterns can be rethought and reimplemented in a simpler and more concise functional way leveraging Java 8 lambdas.oai:cds.cern.ch:22541322017
spellingShingle Conferences
Fusco, Mario
G ∘ F Patterns
title G ∘ F Patterns
title_full G ∘ F Patterns
title_fullStr G ∘ F Patterns
title_full_unstemmed G ∘ F Patterns
title_short G ∘ F Patterns
title_sort g ∘ f patterns
topic Conferences
url http://cds.cern.ch/record/2254132
work_keys_str_mv AT fuscomario gfpatterns
AT fuscomario voxxeddayscern