~/talk

Your Type System Working For You!

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [scala]
links:none on file
slides:none on file

Shows how Scala turns CRS errors into compile-time guarantees by baking CRS definitions and transforms into types and implicits, using GeoTools to load EPSG models and mapping lat/longs and UTM zones to type classes. Demonstrates case-class + companion tricks, variance/invariance, existential type injection for loaded files, and compile-time rejection of mixing EPSG:4326 with UTM without a transform. Also covers raster grid coverage handling and statically typed attribute maps via TMap to prevent runtime surprises.

AI-written summary · about

  1. 0:00Start
  2. 3:22WGS 84 UTM Zones
  3. 6:40CRS Types! Let's start with a simple definition
  4. 11:28Geometries have the CRS as part of the type
  5. 12:18Now, the compiler has your back
  6. 16:03Reifying the CRS type from the existential
  7. 19:44Grid Coverages (Rasters)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.