Skip to content
0:00 / 0:00

#scala3#tracked-vals#modularity

I waited 4 years for this Scala feature...

Jakub Kozłowski

3.7K subscribers • 30 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jakub Kozłowski
  • Linked in the descriptionkubukoz/videos

Intermediate. Assumes working knowledge.

1.6K views1 year ago1 recommendation

Programming languagesScalaLanguage design and type systems

Jakub Kozłowski experiments with the experimental tracked keyword in Scala case classes to see how it improves modularity.

Tracked vals are here! "`F[_]` around and find out" is my series of videos made "in the moment", which are more exploratory than explanatory. We jump into a safe playground to experiment in hopes of reaching a goal, and sometimes we succeed (sometimes we don't). This is a callback to episode 1 of the series - the feature I was missing is finally here! (the `tracked` keyword in case classes, currently available as experimental). In fact, it's been here since Scala 3.5.0, I just didn't realize until now at 3.7.2. If you enjoyed this video, please like and subscribe, and hit the bell icon so you don't miss another one ;) Links: - Source code github.com/kubukoz/videos/tree/main/faround3 - Kacper Korban's talk from ScalaDays about this scaladays.org/editions/2025/talks/on-track-with-tracked - Docs: scala-lang.org/api/3.7.2/docs/experimental/modularity.html I'm on X: x.com/kubukoz on GitHub: github.com/kubukoz sometimes stream on Twitch: twitch.tv/kubukoz And you can buy me a coffee if you want: ko-fi.com/kubukoz Chapters: - Introduction - Project setup - The tracked keyword - A practical usecase - Why this is cool - Summary, parting words

Why it's here

1 person recommends this

u/kubukozcats,cats-effectin r/scala • Recommends

I waited 4 years for this Scala feature - F_ around and find out