Pattern matching in Scala: more than a switch statement
How Scala patterns deconstruct algebraic data types, collections and extractors; where exhaustivity helps; and how guards, partial functions and overly broad matches create risk.
Read articleInsights
Technical articles on languages, databases, serverless platforms and the awkward realities of keeping systems moving.
Showing 19–24 of 24 Scala articles
How 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 articleWhy returning JsValue from a service and hiding data shapes behind aliases can weaken a Scala application—and how to keep Play HTTP, domain and persistence contracts explicit.
Read articleThe Play version gets the blame, but the real trouble is often hiding elsewhere.
Read articleSometimes Scala earns its keep. Sometimes Java is the more honest choice.
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.