Sponsored Content

Bio

Philipp Haller has been a member of the Scala team since 2006. His research on concurrent programming with race-free actors in Scala has been published in leading conferences, winning a best paper award. He is the creator of Scala’s first actors library which inspired Akka, as well as a contributor to the Scala language, standard library, and tools. He holds a PhD in Computer Science from EPFL.

Strange Loop is a multi-disciplinary conference that aims to bring together the developers and thinkers building tomorrow's technology in fields such as emerging languages, alternative databases, concurrency, distributed systems, mobile development, and the web.

Unfortunately, this approach is too limiting. If you have a bunch of calls returning futures of Option, Either, Validation, or similar, and have to use one call result in next call - you're out of luck. You can't do usual for comprehension business on these types since they involve creating inner lambdas when unsugared to map/flatMap and the restriction is not to use await within lambdas. So you're thrown to using pattern matching (which annihilates any benefit from async/await, in my opinion).

InfoQ Weekly Newsletter

Join a community of over 250 K senior developers by signing up for our newsletter. If you are based in the EEA, please contact us so we can provide you with the protections afforded to you under EEA protection laws.

Is your profile up-to-date? Please take a moment to review and update.

Email Address

Note: If updating/changing your email, a validation request will be sent

Company name:

Keep current company name

Update Company name to:

Company role:

Keep current company role

Update company role to:

Company size:

Keep current company Size

Update company size to:

Country/Zone:

Keep current country/zone

Update country/zone to:

State/Province/Region:

Keep current state/province/region

Update state/province/region to:

Subscribe to our newsletter?

Subscribe to our architect newsletter?

Subscribe to our industry email notices?

You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.