Fundamentals 6 min read

Recap of the 2020 Online Scala Meetup: Design Patterns, ZIO STM, Scala‑Java Integration, and Shapeless

On April 18, the inaugural 2020 Online Scala Meetup organized by Tubi featured four speakers who explored Scala design patterns, demonstrated ZIO STM usage, shared best practices for integrating Scala into Java codebases, and introduced Shapeless’s type-level programming, offering valuable insights for developers.

Bitu Technology
Bitu Technology
Bitu Technology
Recap of the 2020 Online Scala Meetup: Design Patterns, ZIO STM, Scala‑Java Integration, and Shapeless

On April 18, Tubi organized the first 2020 Online Scala Meetup, bringing together four speakers who presented on Scala design patterns, ZIO STM, integrating Scala into Java projects, and Shapeless, providing a rich technical experience for attendees.

Scala Design Patterns – by Wang Shichong The talk opened with the “seven sins” of Scala, then moved from classic Java singleton interview questions to a discussion of design patterns in Scala. It highlighted how Scala’s language features naturally embody many patterns, showcased elegant code examples, and concluded with an engaging comparison between the Strategy Pattern and Monads, helping the audience grasp monadic concepts without deep category theory.

ZIO STM – by Contrun This session introduced the scenarios where ZIO’s Software Transactional Memory (STM) is useful, explaining the classic “naïve” example and the pitfalls of multithreaded programming. Contrun described STM’s ability to compose multiple in‑memory transactions without side effects, its declarative style, and its ACI (Atomic, Consistent, Isolated) guarantees, providing code snippets and linking to extensive reference material.

Introducing Scala into a Java Codebase – by Liu Shouwei Liu addressed the challenges of mixing Java and Scala in real projects, offering practical tips for Java developers transitioning to Scala. He demonstrated essential Scala features with concrete code examples, evaluated their benefits, and provided a valuable reference guide for adopting Scala in existing Java codebases.

Design Patterns in Shapeless – by Jilen Jilen presented an introductory talk on Shapeless, covering high‑order polymorphism, type‑level encoding, and safe HList operations. He illustrated concepts such as the Peano axioms and generic programming, showing how Shapeless enables powerful compile‑time type manipulation, though it can be challenging for newcomers.

The four talks provided deep insights into Scala’s steep learning curve, emphasizing the importance of an open mindset, continuous vertical skill development, and broadening horizontal knowledge. Attendees were invited to join the Scala Meetup WeChat group for further learning and community building.

Design PatternsFunctional ProgrammingScalaZIOShapeless
Bitu Technology
Written by

Bitu Technology

Bitu Technology is the registered company of Tubi's China team. We are engineers passionate about leveraging advanced technology to improve lives, and we hope to use this channel to connect and advance together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.