ScalaLove intro video
summary
Explains replacing raw primitives with specific types to stop class-of-bugs from misused strings and ints, demon strates implementations in Scala 2 and Scala 3 using value classes, opaque types and a small newtype libraries checklist, compares runtime cost and compile-time safety, counts how much boilerplate each approach requires, and shows a few concrete libraries that cut that boilerplate and one or two simple benchmarks that prove the tradeoffs.
AI-written summary · about
