Skip to content
0:00 / 0:00

#scala#operatorprecedence#desugaring

The Scala community will exile me for this

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.

3.5K views3 years ago1 recommendation

Programming languagesScalaLanguage design and type systems

Jakub Kozłowski explains how Scala handles operator precedence, extension methods, and desugaring using a controversial code snippet.

In this video, I talk about a (shockingly popular) tweet I made, and explain what's going on in the code I posted. The tweet: twitter.com/kubukoz/status/1590135952886075393 If you enjoyed this video, please like and subscribe, and hit the bell icon so you don't miss another one ;) I'm on Twitter: twitter.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 The code for this video: github.com/kubukoz/videos/blob/main/faround2/main.scala Chapters: - Introduction - Inspecting the conflict - Getting the code to compile - Extension methods - Infix methods - Operator precedence - Manually desugaring the code - Looking at the actual desugaring - Desugared operator names - Rating - Best practices, final words

Why it's here

1 person recommends this

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

The Scala community is going to exile me for this