#Design pattern book

1 messages · Page 1 of 1 (latest)

coral nacelle
#

Hello, I was looking how to write things with defaults (type or functions), and found a comment about builder pattern, and a video that I will watch later https://archive.fosdem.org/2024/schedule/event/fosdem-2024-2064-gleam-in-the-machine-phantom-types-and-the-builder-pattern-/

This remind me of the unofficial rust design pattern book (https://rust-unofficial.github.io/patterns/intro.html) and I wonder if a book listing commonly used pattern (and anti-pattern) exists in gleam.

sweet egret
#

It doesn't exist yet, but documentation on Gleam patterns and anti-patterns is something I wish to produce hopefully this year