

Sealed Classes, Sequences, Immutability: Idiomatic Kotlin Solving Advent of Code...
source link: https://www.youtube.com/watch?v=0GWTTSMatO8
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.

Sealed Classes, Sequences, Immutability: Idiomatic Kotlin Solving Advent of Code Puzzles
We’re solving the eighth Advent of Code challenge in idiomatic Kotlin. We will be simulating, diagnosing, and fixing a small, made up game console! If you have ever wanted to implement your own virtual machine or emulator for an existing system like a game console or a retro computing device, you’ll find this issue particularly interesting!
As usual, a number of Kotlin features will help us achieve that goal, like sealed classes, sequences, and immutability.
Advent of Code Day 8 Task: https://adventofcode.com/2020/day/8
Idiomatic Kotlin: Solving Advent of Code Puzzles Series playlist: https://www.youtube.com/watch?v=o4emr...
* Used with the permission of Advent of Code (Eric Wastl)
#Kotlin #AdventOfСodeInKotlin #Idiomatic #Tutorial #AdventOfCode
Show lessShow more
5 Comments
Perfect video. Well delivered. Kudos to ya'll.
Also, I am a mutability freak. To hell with perf
Recommend
-
136
Hi there everyone, welcome to article number 6 on the series. Today we’ll be looking at Kotlin Sealed classes and how they can take enums to a completely different level and add them some swag. Let’s…
-
56
Learning by ExampleKotlin: Sealed ClassesA concrete example of when you might use sealed classes in Android
-
18
-
12
News Solving Advent of Code Puzzles in Idiomatic Kotlin
-
10
#Kotlin #AdventOfСodeInKotlin #DAY1Idiomatic Kotlin: Solving Advent of Code Puzzles, Day 1
-
9
#AdventOfCode #Kotlin #AdventOfС...
-
8
Session Video from JAX 2022 JAX TV: Java Sealed Classes vs. Kotlin Sealed Classes Java ...
-
11
Demystifying Kotlin sealed classes
-
11
-
11
Kotlin, a modern JVM programming language, brings a range of features to enhance expressiveness and conciseness. Two key constructs in Kotlin that contribute to its versatility are sealed classes and enum classes. In this blog post, we’ll delve in...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK