RSSAmplifier

Stratus3D · Jun 1, 2022

The Problem With Elixir&#8217;s <code>with</code>

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Summary: Return values from different expressions in a with block can only be distinguished by the shape of the data returned. This creates ambiguity in with 's else clauses that make code harder to understand and more challenging to modify correctly. with has existed in Elixir since version 1.2 and is widely used. But there are downsides to this construct. In this blog post I’ll explore the…

Read on stratus3d.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.