Sign in

Write Rust events with ease

Picturesque photo of a mountain range
Photo by J Scott Rakozy on Unsplash

Building and Collapsing Expression Trees

Photo by Alex Perri on Unsplash

Photo by Weston MacKinnon on Unsplash

Handling Impure Actions in a Pure Application

Photo by Héctor J. Rivas on Unsplash

Monad Explained Simply

Photo by Michael Dziedzic on Unsplash

How I Went From House Painter to Web Developer

Photo by Dane Deaner on Unsplash

How It Started

I didn’t finish college. I was married by the time I was 21. And we had already had our first baby by then— he was my best man at the wedding. I had and have no regrets about this, it was what we both wanted to do. But it did put our family in a financial pickle. For the next couple of years I worked maintenance jobs and trades jobs, and finally settled on painting — it was super consistent with the company I found and not terribly dangerous or taxing physically. …

Part 2: Using Middleware More Effectively

Photo by Grant Durr on Unsplash

A Comment and a Complication

My last iteration of this two-part attracted the attention of Mark Erikson, one of the gurus behind the Redux Toolkit (aka RTK), and a general Redux pro. His reddit comment combined with another scenario made me decide that my implementation regarding middleware was not robust enough.

Redux/Flux: The Bigger Picture

Photo by Grant Durr on Unsplash
  • Not to use transpilation middleware (so native ES6, no babel, all import paths are relative paths, drop support for old browsers)
  • Keep it as vanilla as possible. With modern browsers you can write modern JavaScript with no downside, so the new ‘vanilla’ is ES6+ syntax.

Rethinking How We Use VanillaJS and Native DOM

Photo by Jéan Béller on Unsplash

My Relationship With the DOM

I just love playing with JavaScript code that generates or manipulates the DOM. If you’re reading this and wondering, ‘what is the DOM?’, fear not. It is simply a tree of JavaScript objects that represents an HTML document.

Implementing Monads in Rust

Photo by Zane Lee on Unsplash


Programming maniac, #JavaScript zealot. I'm crazy about #FunctionalProgramming and I love Rust. ETH coffee fund: 0x0c37584674e7143e03328254232102973a9cd468

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store