CinderellaMan

CinderellaMan

Author of Create A Cryptocurrency Trading Bot In Elixir

Elixir Mocks Rocks? Mox vs passing function. Short video opening discussion about FP

Hi everyone :wave:

In the meantime, as I’m working on a longer video, I felt like I need to close the testing topic with some additional “conversation” video (something to think about).

This is a short video that looks into alternatives to using the Mox package. It takes into consideration passing the dependent function as a part of the initial process state. Then it passes a dependent function to process calls with logic hidden behind the interface functions. This video is a “teaser” to figure out what people think before a longer form functional programming dedicated video is released

Enjoy :heart:

Most Liked

jaeyson

jaeyson

another video to learn :pray:

Popular Backend topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
You know how to code in Elixir; now learn to think in it. Design libraries with intelligent layers that shape the right data structures, ...
New
PragmaticBookshelf
Docker does for DevOps what Rails did for web development---it gives you a new set of superpowers. Eliminate “works on my machine” woes a...
New
PragmaticBookshelf
You want increased customer satisfaction, faster development cycles, and less wasted work. Domain-driven design (DDD) and functional prog...
New
ManningBooks
Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. You'll be lear...
New
ManningBooks
Kubernetes in Action, Second Edition teaches you to use Kubernetes to deploy container-based distributed applications. You'll start with ...
New
ManningBooks
Learn the big skills of C programming by creating bite-size projects! Work your way through these 21 fun and interesting tiny challenges ...
New
ManningBooks
Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques for code profilin...
New
PragmaticBookshelf
Learn Elixir from this fast-paced book—first published with Groxio's Programmer Passport—from the author of Seven Languages in Seven Week...
New
PragmaticBookshelf
Build fast, scalable PostgreSQL and Rails apps. Solve data growth, quality, and reliability challenges, for workloads from consumer Inter...
New

Other popular topics Top

wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
Exadra37
On modern versions of macOS, you simply can’t power on your computer, launch a text editor or eBook reader, and write or read, without a ...
New
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New