Custom Compile-Time Errors With A Vengeance by Daniel Beskin

Описание к видео Custom Compile-Time Errors With A Vengeance by Daniel Beskin

"Custom Compile-Time Errors With a Vengeance" by Daniel Beskin at Functional Scala 2023.

Discover the power of Scala 3's 'error' function in Daniel's talk where he explores this advanced feature for creating custom compile-time errors, enhancing code safety and clarity. Watch as he guides through practical applications and advanced error messaging techniques.

Contents in the video:

0:52 In The Days Of Yore
2:15 Artisanally Crafted Errors
3:55 The Problem
5:31 The Error Function
6:12 Size Error
8:51 The Rules Of Engagement
9:28 Whither The Constants?
11:11 Friendly Size Error
12:19 Error Recap
13:13 The Type-Level Language
18:26 Compile-Time Inputs
19:40 Compile-Time Checks "Framework"
21:40 Size Again
22:57 Exactly Once
24:47 Per-Field Checks
25:38 Bounded Strings
26:13 Bogus Prefixes
27:25 All Together Now
28:00 "Run Check, Run!"
30:05 The Moment Of Truth
31:17 Errored Out


➡️ Grab Your Early Bird Tickets for the Functional Scala 2024 at https://www.eventbrite.com/e/function...

#functionalprogramming #scala #Scala3 #functionalscala #Vengeance #compiletimeerror

Комментарии

Информация по комментариям в разработке