Engineering · 2023
Functional Java: Geo Matcher
A Java exercise in functional programming: matching point locations to bounding-box regions using JSON inputs, with results streamed out as JSON.
An exercise in writing Java like the rest of the language designers want you to: streams, lambdas, immutable data. The actual problem, point-in-region matching with bounding boxes, is small enough that the functional style is the interesting part.