Learn · CERN

Talk50 min

G ∘ F Patterns

Mario Fusco · CERN

Watch At CERN

About

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..

0:00:00 Slide 1

0:04:17 Slide 2

0:05:00 Slide 3

0:05:59 Slide 4

0:06:27 Slide 5

0:14:43 Slide 6

0:17:16 Slide 7

0:20:47 Slide 8

0:22:59 Slide 9

0:24:12 Slide 10

0:25:15 Slide 11

The talk

  1. G ∘ F Patterns 2017-02-25 · 50 min · CERN's player

Credits and licence

Institution
CERN
Department
Conferences
Speaker
Mario Fusco
Year
2017
Language
English
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Teens profiles and older, judged from what the source says about it. How courses are placed