Backend Patterns
Group and sum with stdlib
Official Bits example. Aggregate orders by customer using groupingBy and fold, without pulling in a collections library.
functionalkotlincollectionsbackend
010
Config validation with Either
Official Bits example. Validate configuration values with Either and toIntOption, returning a useful error instead of throwing.
configscalaeithervalidation
000
GenServer counter
Official Bits example. A minimal OTP GenServer that keeps state, handles asynchronous casts and exposes a synchronous read.
concurrencyelixirotpgenserver
000
Async URLSession JSON fetch
Official Bits example. Fetch and decode JSON with async/await, a custom CodingKey and an explicit status-code check.
asyncswifthttpjson
000
HTTP middleware chain
Official Bits example. Compose reusable HTTP middleware in Go with a small Chain helper and a request logger.
loggingmiddlewaregohttp
000