From 7c32ec27aabe0b4f9b74fa2199b90274fd853543 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Mon, 7 Jul 2025 16:09:36 +0200 Subject: [PATCH] Add TODO comment --- .../newtype-pattern/semantic-confusion.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/idiomatic/leveraging-the-type-system/newtype-pattern/semantic-confusion.md b/src/idiomatic/leveraging-the-type-system/newtype-pattern/semantic-confusion.md index f7a9620f..428525fb 100644 --- a/src/idiomatic/leveraging-the-type-system/newtype-pattern/semantic-confusion.md +++ b/src/idiomatic/leveraging-the-type-system/newtype-pattern/semantic-confusion.md @@ -68,5 +68,6 @@ login(password, username); // 🛠️❌ ``` Users are forced, at the callsite, to assign values to each field, thus increasing the likelihood of spotting bugs. +