<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Loïc TRUCHOT</title>
    <description>The latest articles on DEV Community by Loïc TRUCHOT (@ltruchot).</description>
    <link>https://dev.to/ltruchot</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F194729%2Faf515ce4-ccde-4200-af64-66f7cfe7fb7b.jpeg</url>
      <title>DEV Community: Loïc TRUCHOT</title>
      <link>https://dev.to/ltruchot</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ltruchot"/>
    <language>en</language>
    <item>
      <title>La maïeutique du lambda-calcul 1/3</title>
      <dc:creator>Loïc TRUCHOT</dc:creator>
      <pubDate>Wed, 11 Dec 2024 14:10:29 +0000</pubDate>
      <link>https://dev.to/ltruchot/la-maieutique-du-lambda-calcul-13-9e0</link>
      <guid>https://dev.to/ltruchot/la-maieutique-du-lambda-calcul-13-9e0</guid>
      <description>&lt;p&gt;Pensez-vous que les humains ont &lt;strong&gt;découvert&lt;/strong&gt; ou bien &lt;strong&gt;inventé&lt;/strong&gt; l'informatique ?  &lt;/p&gt;

&lt;p&gt;Je penche pour la découverte, car la &lt;a href="https://fr.wikipedia.org/wiki/Machine_de_Turing" rel="noopener noreferrer"&gt;Machine de Turing&lt;/a&gt; et le &lt;a href="https://fr.wikipedia.org/wiki/Lambda-calcul" rel="noopener noreferrer"&gt;Lambda-Calcul de Church&lt;/a&gt; ont été formalisés indépendamment l'un de l'autre en 1936, et pourtant tous deux sont aussi universellement expressifs (permettant de tout calculer). Fort différents, mais 100% équivalents.&lt;/p&gt;

&lt;p&gt;Je ne parle pas de l'invention de l'ordinateur matériel, qui peut prendre toutes les formes et implémenter généralement ces concepts grâce à des circuits électroniques et leurs transistors. Je parle ici de la logique calculatoire et de la &lt;a href="https://fr.wikipedia.org/wiki/Pens%C3%A9e_computationnelle" rel="noopener noreferrer"&gt;pensée computationnelle&lt;/a&gt; qui l'accompagne : celle-là flottait dans l'air en attendant d'être attrapée et mise en cage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comme au lycée
&lt;/h2&gt;

&lt;p&gt;Rappelons-nous nos cours de maths, en particulier &lt;a href="https://fr.wikipedia.org/wiki/Fonction_(math%C3%A9matiques)" rel="noopener noreferrer"&gt;les fonctions&lt;/a&gt; :&lt;br&gt;
Soit &lt;code&gt;f(x) = 2*x&lt;/code&gt;, une fonction qui multiplie par 2 la valeur qu'on lui passe. Nommons-la &lt;code&gt;Double&lt;/code&gt;.  &lt;/p&gt;

&lt;p&gt;Donc &lt;code&gt;Double(3) = 2*3 = 6&lt;/code&gt;&lt;br&gt;
Et &lt;code&gt;Double(4) = 2*4 = 8&lt;/code&gt;.&lt;br&gt;
Facile.  &lt;/p&gt;

&lt;p&gt;Idem pour &lt;code&gt;f(x) = x + 1&lt;/code&gt;, ou &lt;code&gt;Increment&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;Increment(3) = 3 + 1 = 4&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Increment(4) = 4 + 1 = 5&lt;/code&gt;&lt;br&gt;
Très facile.&lt;/p&gt;

&lt;h2&gt;
  
  
  Le lambda-calcul
&lt;/h2&gt;

&lt;p&gt;Le lambda-calcul peut s'écrire de la même manière :&lt;br&gt;
&lt;code&gt;f(x) = x&lt;/code&gt; est par exemple une fonction qui retourne la valeur qu'on lui passe.&lt;br&gt;
Cette fonction s'appelle &lt;strong&gt;I&lt;/strong&gt;, ou &lt;strong&gt;Idiot&lt;/strong&gt; ou encore &lt;code&gt;Identity&lt;/code&gt;, et est une des fondations du lambda-calcul. &lt;/p&gt;

&lt;p&gt;Donc &lt;code&gt;Identity(3) = 3&lt;/code&gt;&lt;br&gt;
Et &lt;code&gt;Identity(4) = 4&lt;/code&gt;.&lt;br&gt;
Trop facile.&lt;/p&gt;

&lt;p&gt;Il y en a d'autres, moins évidentes, mais dont le lambda-calcul a découvert l'utilité :&lt;br&gt;
&lt;code&gt;f(x, y) = x&lt;/code&gt; est &lt;strong&gt;K&lt;/strong&gt;, &lt;strong&gt;Kestrel&lt;/strong&gt;, ou &lt;code&gt;Constant&lt;/code&gt; : une fonction qui retourne son premier argument. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;Constant(3, toto) = 3&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Constant(toto, 5) = toto&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;En voici une autre :&lt;br&gt;
&lt;code&gt;f(x) = x(x)&lt;/code&gt; est &lt;strong&gt;M&lt;/strong&gt;, &lt;strong&gt;Mockingbird&lt;/strong&gt; ou &lt;code&gt;Self-Apply&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Mais elle est trop tordue pour qu'on puisse l'utiliser avec un nombre :&lt;br&gt;
&lt;code&gt;f(3) = 3(3) = 3&lt;/code&gt; n'a aucun sens, l'argument 3 devrait être une fonction pour pouvoir être utilisé à son tour avec un argument.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;g(x) = toto&lt;/code&gt; voici une fonction qui retourne toto à tous les coups ! Chouette, appelons-la &lt;code&gt;Dummy&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;Donc si &lt;code&gt;Self-Apply&lt;/code&gt; est &lt;code&gt;f(x) = x(x)&lt;/code&gt;&lt;br&gt;
Et &lt;code&gt;Dummy&lt;/code&gt; est &lt;code&gt;g(x) = toto&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Alors &lt;code&gt;Self-Apply(Dummy) = Dummy(Dummy) = toto&lt;/code&gt;&lt;br&gt;
Bah oui, Dummy s'applique à lui-même, et comme Dummy retourne toujours toto, on obtient toto in fine.&lt;/p&gt;

&lt;h2&gt;
  
  
  La magie commence
&lt;/h2&gt;

&lt;p&gt;La nature combinatoire du lambda-calcul le rend très simple à comprendre et à manipuler, mais aussi à redécouvrir.&lt;br&gt;
Il suffit de tester toutes les associations et combinaisons possibles, avec un certain nombre de termes, pour trouver toutes les fonctions vraiment différentes et utiles.&lt;/p&gt;

&lt;p&gt;Par exemple, on a découvert que &lt;code&gt;f(x, y, z) = x(y(z))&lt;/code&gt; était une fonction très utile, et on l'a appelée &lt;strong&gt;B&lt;/strong&gt;, &lt;strong&gt;Bluebird&lt;/strong&gt; ou &lt;code&gt;Compose&lt;/code&gt;.&lt;br&gt;
Il suffit de lui passer 2 fonctions et une valeur pour obtenir le résultat de cette chaîne d'opérations faite sur ce 3ème argument. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;Compose(Increment, Increment, 3) = Increment(Increment(3)) = Increment(4) = 5&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Compose(Double, Double, 10) = Double(Double(10)) = Double(20) = 40&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Compose(Compose(Increment, Increment), Double, 10) = (Compose(Increment, Increment))(Double(10)) = Increment(Increment(20)) = Increment(21) = 22&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Un projet un peu fou
&lt;/h2&gt;

&lt;p&gt;Je me lance dans le projet de redécouvrir toutes les fonctions utiles du lambda-calcul et de les implémenter en JavaScript.&lt;br&gt;
Je vais me faire aider par un ami, &lt;a href="https://claude.ai" rel="noopener noreferrer"&gt;Claude&lt;/a&gt;, pour avancer plus vite en générant toutes les possibilités de combinaisons et en les testant.&lt;/p&gt;

&lt;p&gt;Va-t-il réussir ? Et nous, allons-nous revivre et ressentir ce qu'a traversé Alonzo Church en 1936 ?&lt;/p&gt;

&lt;p&gt;Espoir plus fou encore: peut-on découvrir des nouveautés en recherchant l’exhaustivité de ces combinaisons ?&lt;/p&gt;

</description>
      <category>functionalreactiveprogramming</category>
      <category>javascript</category>
      <category>programming</category>
      <category>ai</category>
    </item>
    <item>
      <title>Cure Impostor Syndrome with Functional Programming</title>
      <dc:creator>Loïc TRUCHOT</dc:creator>
      <pubDate>Sat, 13 Jul 2019 09:21:30 +0000</pubDate>
      <link>https://dev.to/ltruchot/cure-impostor-syndrome-with-functional-programming-3ih6</link>
      <guid>https://dev.to/ltruchot/cure-impostor-syndrome-with-functional-programming-3ih6</guid>
      <description>&lt;p&gt;Ten years of web development made me feel like Neo, before he met Morpheus. Something was wrong in this world. I had some clues, but I couldn’t explain exactly what it was.&lt;/p&gt;

&lt;p&gt;My everyday language was JavaScript. I eventually decided to become a teacher and explain how to make real-world webapps to beginners and juniors.&lt;/p&gt;

&lt;p&gt;I didn’t switch careers because I felt established, in fact, it was the opposite. I wanted to be a teacher so I could upgrade my skills, question them, and cure my own impostor syndrome.&lt;/p&gt;

&lt;p&gt;Who, after a degree and ten years of practice in a field, can feel like an impostor; an eternal newbie? Programmers, of course.&lt;/p&gt;

&lt;p&gt;But why? I’ll try to explain what I discovered.&lt;/p&gt;

&lt;p&gt;I used to start my programming lessons with something like: “You don’t need maths at all to be a good programmer. We need problem solvers.”&lt;/p&gt;

&lt;p&gt;And of course: “There is a tool for everything. You don’t even need to be a good coder if you know where to find, and use, the right resources.”&lt;/p&gt;

&lt;p&gt;And even: “As the industry is changing so fast, you have to learn a &lt;br&gt;
framework per year to keep up with the trends.”&lt;/p&gt;

&lt;p&gt;When we speak about quality, I always promote wisely-chosen camelCase variable names. When someone asks me why the web is so messy, I describe JavaScript’s weaknesses and fatigue (JS, a language that nobody learns), coders’ laziness, lack of tests/DevOps/design patterns/quality tools, etc.&lt;/p&gt;

&lt;p&gt;When it comes to impostor syndrome, even if I suffer from it, I just try to reassure people to: “Continue to deliver apps, it’s in your head, it will vanish with your achievements.”&lt;/p&gt;

&lt;p&gt;Yet, my impostor syndrome didn’t vanish in time — my achievements did.&lt;/p&gt;

&lt;p&gt;The entirety of my websites and apps disappeared. My first PHP &amp;amp; ASP.NET custom CMS, my Java &amp;amp; early Node back ends, my jQuery plugins, my Dojo apps, my Ruby on Rails projects, my AngularJS landing pages and Ionic mobile apps, even my recent work with Vue 1, Angular 2 beta and early React are not online anymore.&lt;/p&gt;

&lt;p&gt;And I know why. Those projects were too big to change and too buggy — the technology was perishable, investment flow was inconsistent, and the new coders were too inexperienced to grow the existing codebase.&lt;/p&gt;

&lt;p&gt;Even the work done with the best practices are lost, dead and burning in (callback) hell. DDD, design patterns, API, microservices, TDD, linters + prettiers, comments, GitFlow, best frameworks and libraries, Docker, CI/CD and DevOps, KISS, Redux, ReactiveX, Agile management, task runners and transpilers, pair programming and reviews, etc.&lt;/p&gt;

&lt;p&gt;We tried everything. But after all of that, something in the projects is still bad. The codebases will continue to be updated until it’s too big; then we want to re-code it from scratch. It’s obviously a vicious circle.&lt;/p&gt;

&lt;p&gt;What if I was wrong all this time? Ten years of errors?&lt;/p&gt;

&lt;p&gt;What if there is a different explanation for the mess we made in web development, and in computer science in general?&lt;/p&gt;

&lt;p&gt;What if the thing we missed was in fact the exact opposite of what I was teaching?&lt;/p&gt;

&lt;p&gt;If so let’s reverse the instructions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stop trying to solve the problem as enthusiastic monkey patchers.&lt;/li&gt;
&lt;li&gt;Stop combining unreliable tools without knowing the basics.&lt;/li&gt;
&lt;li&gt;Stop placing every code in cages, terrorized by the monsters we know we will create.&lt;/li&gt;
&lt;li&gt;Stop filling the endless void with more code.&lt;/li&gt;
&lt;li&gt;Stop choosing names or developing static APIs bound to versatile problems, with perishable purpose.&lt;/li&gt;
&lt;li&gt;Stop developing new data structures, without expressing the potential of existing ones.&lt;/li&gt;
&lt;li&gt;Stop changing technology, frameworks and code base every month — modify them in a way that they’ll be more reliable and usable in 10 years time.&lt;/li&gt;
&lt;li&gt;Stop being an impostor.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Functional Programming
&lt;/h2&gt;

&lt;p&gt;Have you heard about functional programming?&lt;/p&gt;

&lt;p&gt;Yes of course, because every big language, company, and thought leader has taken steps in this direction for a few years now.&lt;/p&gt;

&lt;p&gt;But what is Functional Programming about?&lt;/p&gt;

&lt;p&gt;Two years ago, I went to my nearest university library, trying to find books about monads, Lambda calculus, semigroups, combinators, linear algebra, higher-order functions, and others subjects that pops when we discover FP.&lt;/p&gt;

&lt;p&gt;I was naively searching for computer science books and found nothing.&lt;/p&gt;

&lt;p&gt;A few weeks ago, I went to the same place for a book about Boolean algebra, to prepare for class.&lt;br&gt;
The library assistant took me to the mathematics shelves, and there I discovered the Grail — 50 old books about everything you can find in the &lt;a href="https://github.com/fantasyland/fantasy-land"&gt;fantasy-land&lt;/a&gt; of Functional Programming.&lt;/p&gt;

&lt;p&gt;Monoïds, and the operations you can do with them, were clearly explained in the first dusty book I opened.&lt;/p&gt;

&lt;p&gt;It was a moment of enlightenment, the Morpheus pill was this shelf. The answer I was searching since 10 years was incredibly simple: “math matters”. My eyes were “wide shut” although it was hidden in plain sight. I still don’t understand everything about Monoïds, but I can clearly see the path now, with the green characters of the matrix falling all around me.&lt;/p&gt;

&lt;p&gt;Why don’t programs work? &lt;/p&gt;

&lt;p&gt;Why do we need to completely rewrite them every two years? &lt;/p&gt;

&lt;p&gt;Because they lack mathematics, of course !&lt;/p&gt;

&lt;p&gt;We want to manipulate the “zero” and the “one” all day, but we don’t even know about simple (Boolean) algebra like identity, commutativity, associability, idempotency, etc.&lt;/p&gt;

&lt;p&gt;Problem solving is not the skill — spending your time reinventing and patching (even smartly) will still increase the codebase, creating a form of “technical debt” that nobody wants to pay.&lt;br&gt;
So what do we need?&lt;/p&gt;

&lt;p&gt;What we need is less code.&lt;/p&gt;

&lt;p&gt;What we need is proof that it works. Not “TDD proof” that is costly, but an approach that will surely solve every case.&lt;/p&gt;

&lt;p&gt;What we need is a scalability level that doesn’t require any name for variables other than a, b, or c. Our functions will be so simple, so generic, so stable, so composable, so future-proof that they can be read and use the same way now and in 30 years.&lt;/p&gt;

&lt;p&gt;What we need isn’t artificial limits and tools everywhere to avoid bad code or bad practices, but algebra everywhere.&lt;/p&gt;

&lt;p&gt;What we need is to stop being impostors, and eventually begin to think for the computer, think like it. This machine we are programming, this concept of being able to cleverly calculate everything. It will be hard. At least it’s tough for me.&lt;/p&gt;

&lt;p&gt;What does a computer do when it’s powered up?&lt;/p&gt;

&lt;p&gt;It takes data from DD as input, and computes it as outputs that our devices need. Then, it waits for new inputs, allowing us to develop programs or apps to map certain outputs again.&lt;/p&gt;

&lt;p&gt;There are only two cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If it’s already computed then we just need memory.&lt;/li&gt;
&lt;li&gt;If it will be computed we need a function.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why did we take something so simple and complicate it? Instead of learning math, we chose to invent a cryptic world of pop-cultured languages and tools that can more or less solve any kind of problem.&lt;/p&gt;

&lt;p&gt;Every time we try to play it by ear we create more problems.&lt;/p&gt;

&lt;p&gt;It’s bug oriented programming.&lt;/p&gt;

&lt;p&gt;In informatics’ early days, ways to perform calculations still needed to be discovered. Back then, it was okay to find workarounds in order to organize everything, to create new vocabulary and languages to re-use basic calculations.&lt;/p&gt;

&lt;p&gt;It’s now a shame to not know and use what we have. Computers and languages are so reliable that they can compute trillions of data without error, from a well made function. Besides the effects on the nanoscopic transistors, it is still reliable and we can say that the function is “pure”.&lt;/p&gt;

&lt;p&gt;Who is good with functions and knows all their dirty little secrets? The mathematicians of course.&lt;/p&gt;

&lt;p&gt;Just use that power! CPU engineers have done their work. Now, let’s show them what we can do on our side. Not to mention that new problems in the informatics field are about asynchronicity, multithreading, and concurrency — the main purpose of FP, its reason for being.&lt;/p&gt;

&lt;p&gt;So what will I teach now?&lt;/p&gt;

&lt;p&gt;Do not change the language or framework, instead change your mind.&lt;/p&gt;

&lt;p&gt;Continue with docker, linters, DDD, TDD, anything that helps you to deliver reliable apps.&lt;/p&gt;

&lt;p&gt;But, in your everyday work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stop writing more code, more data structures, APIs and classes. Write less until you get a core one-line, one-argument reusable pure function. Go to the smallest bits.&lt;/li&gt;
&lt;li&gt;Try to use these functions like a professional, and keep real world “effects” for before and after the beautiful process you wrote.&lt;/li&gt;
&lt;li&gt;Begin to learn, step-by-step, about Functional Programming. See it as a mathematical prerequisite to become a confident senior programmer.&lt;/li&gt;
&lt;li&gt;Begin to use functions from the FP world, just to see where they lead you (map, filter, reduce, pipe, etc.).&lt;/li&gt;
&lt;li&gt;Begin to write your own higher-order functions. Then benefit from their useful mathematical properties.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do you want a design pattern to begin with?&lt;/p&gt;

&lt;p&gt;Here is an “onion” pattern for any size of project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your programming language is an implicit layer that you have to thoroughly learn.&lt;/li&gt;
&lt;li&gt;Code a layer for core functions which are lacking in your language such as “log”, “not”, “even”, “odd”, “concat”, “map”, “reduce”, “filter”, “compose”, “pipe”, and so on. Or you can use an existing one, like &lt;a href="https://ramdajs.com/"&gt;Ramda&lt;/a&gt; or &lt;a href="https://github.com/lodash/lodash/wiki/FP-Guide"&gt;Lodash&lt;/a&gt;, but if so, learn it well. Let’s call them utils.&lt;/li&gt;
&lt;li&gt;A layer for your “domain” functions and data models that you can reuse in every project in your domain, company or business. Let’s call them helpers.&lt;/li&gt;
&lt;li&gt;A layer for your current program functions and data models. Let’s call them services.&lt;/li&gt;
&lt;li&gt;A top layer, which is your program and where you use data, functions, and effects under control. Ideally, this is the only place where you intricate your codebase with some front end framework. Therefore, you can keep all the rest if you change your framework.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each layer is simply a composition of previous ones. If you respect this order then you can drop the upper layer at any time and use the previous one.&lt;/p&gt;

&lt;p&gt;For a little project or POC, just use two or three layers.&lt;/p&gt;

&lt;p&gt;A new generation of coders is coming. Millions of people around the world are currently learning and training; amplified by the ‘suction effect’ of well paid and interesting jobs.&lt;/p&gt;

&lt;p&gt;The majority think that being a problem solver or ‘learning what public static void method is’ or ‘getting started with a trendy framework’, is sufficient to create working apps. This is the case if you only need disposable programs.&lt;/p&gt;

&lt;p&gt;You can spend an entire career with those illusions, finding comfort around others with the same belief system, as I had. As a consequence, the problems with everyday production updates for unfinished and unfinishable products will increase, just like JavaScript fatigue itself.&lt;/p&gt;

&lt;p&gt;But there is hope too. A lot of young coders are not formatted by the OO classic journey, or imperative approach. They don’t want to just solve problems with spaghetti code. Some are already fascinated with functional programming.&lt;/p&gt;

&lt;p&gt;So, jump on the FP train before it’s too late. The internet is in primitive chaos but we will remodel it together. It will make a difference for the future, and you will become the colleague, mentor or teacher we so desperately need.&lt;/p&gt;

&lt;p&gt;But, be kind to the people who don’t already know the good news, we don’t want to leave them behind. Revelation could take time.&lt;/p&gt;

&lt;p&gt;I want to make a hypothesis, to better explain my own journey.&lt;/p&gt;

&lt;p&gt;Why did JavaScript become so popular so quickly? Why do some coders fall in love with it, despite its obvious defects? I think it’s only because of its function as values, that it seduced every coder that used it.&lt;/p&gt;

&lt;p&gt;They don’t know why it feels so good, but they stay there, naturally becoming eloquent, asking for more. Maybe this intuition will lead you to FP, just like me. Don’t wait years to open your eyes, begin today.&lt;/p&gt;

&lt;p&gt;But be careful, if JavaScript seduced you for this reason and you never learned how to manage it, ultimately you will end up with a defective code.&lt;/p&gt;

&lt;p&gt;What about me? Since I started using this paradigm, my programs are not only better, but more real, under control, and finally truly reliable. My codebase reduces everyday. &lt;/p&gt;

&lt;p&gt;I have never felt happier in my programmer/teacher life, because I finally know what I’m doing.&lt;/p&gt;

&lt;p&gt;Refactoring is now a pleasure. It feels like a game where I say: “Oh! I can factorize that in this way and it was just a combination of simple things I already know!”.&lt;/p&gt;

&lt;p&gt;I still have everything to learn from math, because I avoided it for all those years.&lt;/p&gt;

&lt;p&gt;But now, my impostor syndrome begins to vanish. I will never fully get rid of it, since I still believe in Shoshin (beginners mind — Zen Buddhism), but it doesn’t scare me anymore.&lt;/p&gt;

&lt;p&gt;Thank you for reading, I wish you all the best.&lt;/p&gt;

&lt;p&gt;Loïc Truchot&lt;/p&gt;

&lt;p&gt;PS: If you want to dive into front end FP, in place of just starting incrementally in your language, you can try to learn PureScript, ClojureScript, ReasonReact, fp-ts or Elm (my personal favorite). They target JavaScript, but force you to think as a functional programmer.&lt;/p&gt;

&lt;p&gt;There is one obvious and unmissable book about FP, before any other : &lt;a href="https://sarabander.github.io/sicp/"&gt;SICP&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I recommend &lt;a href="https://functionalprogramming.slack.com"&gt;this FP slack&lt;/a&gt; if you want to find a dedicated, welcoming and helpful FP community.&lt;/p&gt;

&lt;p&gt;Here are 3 of my favorite podcasts about FP : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Thoughts on Functional Programming, by Eric Normand&lt;/li&gt;
&lt;li&gt;Functional Geekery, by Proctor&lt;/li&gt;
&lt;li&gt;CoRecursive, by Adam Bell&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My next article will be about resources and tooling to go further.&lt;/p&gt;

</description>
      <category>functional</category>
      <category>javascript</category>
      <category>math</category>
      <category>senior</category>
    </item>
  </channel>
</rss>
