From 16bee5899ebad09d290771a5fac270fc8b4d13a9 Mon Sep 17 00:00:00 2001 From: Cameron Ball Date: Tue, 24 Mar 2020 23:44:50 +0800 Subject: [PATCH] That should do it --- index.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 56f1afb..0b2fb99 100644 --- a/index.html +++ b/index.html @@ -748,6 +748,7 @@ threeFs = repeat("f").substr(0,3);
@@ -900,7 +901,7 @@ threeFs = repeat("f").substr(0,3);
-
=<< Promises >>=
+
=<< Big Brain Moment >>=

Woah!

JavaScript

@@ -914,13 +915,14 @@ threeFs = repeat("f").substr(0,3);
    +
  • Big brain time again
  • It does not matter what order the promises resolve in, the final promise will always be resolved with "We start here..."
  • In this specific example, there is nothing asynchronous happening, but it's not much work to adapt it so there is. I just wanted to really highlight the similarities with haskell
-
=<< Promises >>=
+
=<< Big Brain Moment >>=

Woah!

JavaScript

@@ -1152,7 +1154,7 @@ threeFs = repeat("f").substr(0,3);
=<< Closing Notes >>=
-

Applications to life:

+

Very big brain thoughts:

  • We work across multiple timezones, so being able to solve problems in a time-independant way seems appealing, doesn't it?
  • @@ -1182,6 +1184,14 @@ threeFs = repeat("f").substr(0,3);
    Thanks for participating!!
+
+
    +
  • If nothing else, I really hope you're now just a little bit more curious about functional programming
  • +
  • And even though functional programing is not incredibly relevant to our roles just now, learning more about it will make you a better programmer
  • +
  • If you have any questions please message me, I'm always happy to talk about this stuff
  • +
  • I'd suggest going to the pub to talk about it, but, well, we can't do that just now
  • +
+