u/rankwallyin r/scala • Recommends
Moving beyond classic defensive programming in Scala (NE Scala 2018)
#typesystems#defensiveprogramming#correctness
609 subscribers • 2 videos on Hallway
Intermediate. Assumes working knowledge.
1.4K views8 years ago1 recommendation
Programming languagesSoftware designScalaDesign patternsFunctional programming
Changlin Li demonstrates how to leverage Scala's type system to guarantee correctness at compile time instead of relying on defensive runtime checks.
Guidelines for Practical Correctness Through Type Signatures: I'll talk about easy, approachable rules of thumb to leverage Scala's type system to improve correctness which can be used in almost any codebase, without enough implicits to make your head (and compiler) explode. Slides can be found here: github.com/changlinli/types_presentation_slides/blob/v0.2.0/… And the gist: gist.github.com/changlinli/b4dee7273cae1de4f6b262afe0eb6ca7What people say. Recommended as a practical guide to using types for correctness without overcomplicating the codebase.
u/rankwallyin r/scala • Recommends