Simple Code for a Type Safe World
Offered By: Scala Days Conferences via YouTube
Course Description
Overview
Explore type safety in Scala through a live coding session at Scala Days Chicago 2017. Discover simple techniques to type-safe configurations, process calls, and REST calls using vanilla Scala code, without relying on implicits, shapeless, or type-level programming. Learn why popular configuration libraries like Typesafe config and pure config fall short in type safety, and uncover alternative approaches. Dive into making process and REST calls both convenient and elegantly type-safe, potentially positioning Scala as a superior choice for shell scripting compared to bash. Follow along as the speaker demonstrates practical implementations, including creating a main method, using CBT plugins, working with capture macros, and leveraging annotations for enhanced type safety in various scenarios.
Syllabus
Intro
Slides
Config
Dispatching
Configuration
Non Scala developers
Creating a main method
CBT plugin
Capture macro
Import capture macro
Capture name
Annotations
Extracting
Process
Echo
Pipe extension
Combining pipe and type safe
Scala macro
Emma Night Ops
Capture
Taught by
Scala Days Conferences
Related Courses
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera Parallel programming
École Polytechnique Fédérale de Lausanne via Coursera Big Data Analysis with Scala and Spark
École Polytechnique Fédérale de Lausanne via Coursera Functional Programming in Scala Capstone
École Polytechnique Fédérale de Lausanne via Coursera