← Graph

Build APIs with immutability, EDN, context-free, flat

takeaway 2 connections

Norbert Wójtowicz's four-step recipe for building APIs the way Pathom does, presented as 'too-few-steps-to-ignore': (1) make everything possible immutable by pushing side effects and IO to the edges; (2) use EDN wherever possible, replacing arbitrary strings/paths with EQL data structures; (3) use namespace-qualified keywords so every identifier is context-free; (4) once identifiers are context-free, flatten 1:1 joins into sibling attributes. Joins remain only for genuine 1:N relationships.

type
recommendation
takeaway Build APIs with immutability, EDN, context-free, flat
about
Pathom tool
Recipe is exemplified by Pathom.
takeaway Build APIs with immutability, EDN, context-free, flat
from_talk
The talk's central four-step recipe.

Provenance

Read by
4 extractions