From c977c75a36b478d2cccc1048bb2b2e7eb4d78166 Mon Sep 17 00:00:00 2001 From: fagossa Date: Sun, 17 Nov 2019 19:56:53 +0100 Subject: [PATCH] Create 2019-10-03-PSUG101.md --- _posts/2019-10-03-PSUG101.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 _posts/2019-10-03-PSUG101.md diff --git a/_posts/2019-10-03-PSUG101.md b/_posts/2019-10-03-PSUG101.md new file mode 100644 index 0000000..48b6ad9 --- /dev/null +++ b/_posts/2019-10-03-PSUG101.md @@ -0,0 +1,31 @@ +--- +layout: post +title: "PSUG #101 - Much Ado About Testing and fast stack-safe functional code" +categories: scala +--- + +Bonjour à tou•te•s + +Pour ce meetup pré [Scala IO](scala.io), Ebiznext nous accueille pour parler de tests métamorphiques et de programmation fonctionnelle stack-safe et performante avec un retour d'expérience d'une librairie de batch. + +----------- +## Much Ado About Testing — Nicolas Rinaudo + +Testing is a wide field, with lots of weird concepts not much discussed in the industry. + +This talk means to introduce: + +* example based testing and how it falls short +* property based testing (PBT) and strategies to identify useful properties +* metamorphic testing for when PBT is too expensive + +----------- +## 10 tips to write fast stack-safe functional code in Scala: the automatic-batching library experience report — Christophe Calvès + +Have you ever heard the belief of functional programming being slow? + +Have you ever been caught by a StackOverflowError in your recursive functions? + +Have you ever rewritten your functional code into imperative style to make it fast and stack-safe? + +What if i told you how to write fast and stack-safe functional code? Even for non tail-recursive functions! ;) In this talk i'll present you 10 tips to write fast and stack-safe functional code. It is based on my experience implementing [Auto-Batch](https://github.com/chrilves/auto-batch), a pure functional-programming Scala library to automatically batch API calls.