6

Kotlin Tutorial: Validating and Sanitizing Input. Advent of Code Puzzles

 3 years ago
source link: https://www.youtube.com/watch?v=-kltG4Ztv1s
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
#AdventofCode #Kotlin #AdventOfСodeInKotlin

Kotlin Tutorial: Validating and Sanitizing Input. Advent of Code Puzzles

3,464 views
Sep 1, 2021

In the fourth episode of Idiomatic Kotlin's #AdventofCode series, we will be tackling input sanitization and validation challenges.

Input sanitization and validation feels like a problem as old as programming itself. User input can’t always be trusted, and ensuring it takes the exact form that we, as programmers expect, can take serious brain power.

In today’s episode, we will tackle a challenge that’s all about this topic – Day 4 of Advent of Code 2020! Stick around for the challenge and an elegant solution, implemented of course in Kotlin!

0:50 Problem description 1:23 Solving part I 4:57 Solving part II 12:18 Wrapping up

Solution → https://github.com/kotlin-hands-on/ad...

* Used with the permission of Advent of Code (Eric Wastl) #Kotlin #AdventOfСodeInKotlin #Idiomatic #Tutorial #AdventOfCode


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK