From 3c835d6b8f016c819fb4aff809055b0a21ee5b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Pedi=C4=87?= Date: Mon, 24 Jul 2023 00:36:54 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c87645b..a2df026 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,11 @@ On the other hand in the fail step, we can match the aggregate data since no par ``` -## Comparison to `with` +## Why use Q? -A major benefit of using ExQ over `with` is that the results of all steps before an error are available and the step which produced the error is also easily identifiable. +A major benefit of using ExQ is that the results of all steps before an error are available and the step which produced the error is also easily identifiable. + +Compare the following two snippets: ```elixir user_id = 1234