Folds in Scala: turning collections into results
A type-led guide to foldLeft, foldRight, reduce and scan, with accumulator design, evaluation order, performance and practical alternatives.
Read articleInsights
Technical articles on languages, databases, serverless platforms and the awkward realities of keeping systems moving.
Showing 19–27 of 49 articles
A type-led guide to foldLeft, foldRight, reduce and scan, with accumulator design, evaluation order, performance and practical alternatives.
Read articleHow Scala patterns deconstruct algebraic data types, collections and extractors; where exhaustivity helps; and how guards, partial functions and overly broad matches create risk.
Read articleHow Scala Future starts, composes and fails; how ExecutionContext choices affect Play services; and how to test asynchronous behaviour without sleeps or misleading mocks.
Read articleA practical guide to method-call shorthand, apply and update, operators, for-comprehensions, placeholders, varargs, string interpolation and the semantics hidden by concise Scala syntax.
Read articleHow records, sealed interfaces, Optional and exhaustive decisions can replace nullable fields, string states and inheritance-heavy Java models.
Read articleA practical testing structure for Java and Spring Boot: pure unit tests, focused service tests, web slices, repository integration and fewer mocks that merely replay the implementation.
Read articleHow Nuxt rendering choices affect HTML, hydration, data freshness, browser APIs and deployment—and why one application can use more than one strategy.
Read articleA technical guide to Nuxt server routes, runtime configuration, API contracts, authentication and avoiding secrets or server-only dependencies in browser bundles.
Read articleHow to give Codex useful repository context, shape bounded tasks, review its evidence and keep responsibility for architecture, security and production behaviour with the engineering team.
Read articleStart a conversation
A feature that needs shipping, an ageing service that needs attention, or a deployment that has become harder than the code. Talk to us about your problems.