Posts

Showing posts from March, 2023
Image
Functional Friday - Episode 2 Learning Rescript - Expressions Welcome back to Functional Friday, the place where functions stopped calling each other, because they had constant arguments 🥁! In the last episode we had a look on how let bindings and types work in ReScript and how they compare to JavaScript/TypeScript. In this episode will focus mostly on expressions and we're going to use them to start introducing some differences between functional programming languages and imperative ones. 2.1 Expressions, uh? 🤔 Normally speaking, an expression is the action of making known someone's thoughts or feelings , whereas in programming an expression is an entity that may require further comput
Image
Functional Friday - Episode 1 Discovering Rescript - Types and Let Binding Welcome to this first episode of Functional Friday! This series is meant to be a journey of ReScript discovery and what it looks like for a JavaScript/TypeScript developer. If you're relatively new to functional programming, don't worry: I've been there. Functional programming in its purest form has its roots set in mathematics and some concepts may be hard to grasp. That's why I'll use a more pragmatic approach to it and provide comparison with imperative, unfunctional code whenever it's needed. But first, let's see how this journey started. 1.1 Me and TypeScript 💔 In the last couple of years I tried to fall in love wi
About Me - Maurizio Vacca Curious by nature, driven by passion. I'm a software developer, whatever it means. Hey, thank you! My name is Maurizio, nice to meet you. I do really appreciate you are taking the time to read through this - hopefully - brief presentation of mine. Last time I had a blog it was during early 2000s, on Microsoft Live Spaces; as bad as the platform was, I really loved writing. I always did. But I also remember the frustration when the platform got shut down; during that time I got my first job as a developer and I had too many things going on: strict deadlines, stressful working environment, an unhappy relationship so I stopped blogging… up to now. Without further digressing, let me introduce myself. I was born in Cagliari, Sardini