memesearch
Scala 3 Comprehension Syntax

Scala 3 Comprehension Syntax

Download Find similar pictures
Text on the meme
Finally a real reason to upgrade to Scala 3 for Wha!? For comprehension improvements are coming!!! 1. Starting for comprehensions with aliases: Current Syntax: val a = 1 for { b <- Some(2) c <- doSth(a) } yield b + c New Syntax: for { a = 1 b <- Some(2) c <- doSth(a) } yield b + c
What it means

A social media post celebrates Scala 3 introducing improved syntax for for-comprehensions with aliases. The joke is that this small syntax change is presented as the long-awaited real reason to upgrade, making it a reaction for Scala developers discussing language updates.

Who
Objects
Tags
Source
Type
image
Size
800×683 · 55.8 KiB
Mood
sarcastic
Language
en
Added