Scala

[ follow ]
Scala
fromInfoQ
22 hours ago

QCon London 2026: Introducing Tansu.io -- Rethinking Kafka for Lean Operations

Tansu is an open-source, stateless messaging broker that replaces Kafka's complex architecture with a simpler, durable storage model.
fromMedium
4 days ago
Scala

Things that I Only Learned After Scaling: Non-Obvious Lessons from Production

Production systems reveal hidden scaling failures invisible in documentation: retries cause cascades, logs become bottlenecks, stateless services hide state, and partial failures require degraded-mode design.
Scala
fromMedium
4 days ago

What I Learned Building Secure Observability in Scala

Build secure Scala applications by keeping core logic in plain IO and using a temporary Mission Stack only for sensitive operations, integrating security with observability from the start rather than adding it later.
#functional-programming
Scala
fromMedium
6 days ago

Is the FP Juice worth the Squeeze?

Functional programming disciplines—immutability, explicit absence handling, and explicit failure representation—reduce enterprise risk and improve delivery predictability in Java-based organizations without requiring complete language rewrites.
fromMedium
1 month ago
Scala

Beyond the For-Loop: Mastering map, filter, and flatMap

Scala's map, filter, and flatMap replace imperative loops and mutable accumulation, allowing expression of business rules without focusing on iteration mechanics or state mutation.
fromMedium
2 months ago
Scala

Scala Programming Explained: A Complete Storytelling Guide for Students and Developers

Scala blends object-oriented and functional programming on the JVM to deliver scalable, concise, high-performance solutions for backend, big data, and enterprise systems.
Scala
fromMedium
6 days ago

Is the FP Juice worth the Squeeze?

Functional programming disciplines—immutability, explicit absence handling, and explicit failure representation—reduce enterprise risk and improve delivery predictability in Java-based organizations without requiring complete language rewrites.
fromMedium
2 months ago
Scala

Scala Programming Explained: A Complete Storytelling Guide for Students and Developers

Scala
fromMedium
6 days ago

Rage Against the (Plurality of) Effect Systems

Open-source effect systems provide genuine benefits for safe parallel programming but create systemic problems through their pervasive, infectious nature that spreads throughout entire codebases.
Scala
fromMedium
1 week ago

100 Scala Scenario-Based Interview Questions and Answers

Scala technical interviews prioritize practical problem-solving and design reasoning over syntax memorization, with scenario-based questions evaluating real-world technical capabilities.
Scala
fromScala-lang
1 week ago

Hardening Scoverage Support in Scala 3

Scoverage, Scala's standard code coverage tool, underwent systematic testing improvements to ensure reliability across compiler language features and future compatibility.
#scala-interview-preparation
Scala
fromMedium
1 week ago

We're still needed - at least for now

AI assistance can guide toward solutions but requires critical evaluation; mixing PlayJsonPlainImplicits resolved JsValue GetResult issues, while ChatGPT's Timestamp conversion suggestion risked unnecessary performance overhead.
Scala
fromTypelevel
1 month ago

Google Summer of Code 2024 - Going Feral on The Cloud

Feral now supports Google Cloud and enhanced AWS Lambda support; Vercel support attempted but blocked by Http4s route incompatibility.
fromScalac - Software Development Company - Akka, Kafka, Spark, ZIO
1 month ago

Scalendar March 2026

This March, we're bringing you a curated lineup of the most exciting Scala and AI events from around the world. Highlights include SCALAR Conference in Warsaw, NVIDIA GTC, QCon London, and SXSW's tech tracks, offering everything from deep technical talks to hands-on AI and functional programming sessions. Whether you're sharpening your Scala skills, exploring AI in production, or connecting with global developers, this month's edition has something for everyone. Don't miss the chance to learn, network, and level up your expertise
Scala
#cats-mtl
Scala
fromTypelevel
1 month ago

Typelevel Summer of Code 2025

Arman Bilge is a Typelevel community member, core maintainer of projects including Cats Effect, and Executive Director of the Typelevel Foundation focused on community growth and adoption.
Scala
fromArtima
1 month ago

The Autoproxy Plugin - Part II

A Swing-based Scala REPL using a mixin annotation can eliminate JLine limitations, support embedding and remote connections, and reduce delegation boilerplate.
fromMedium
1 month ago

Algorithms Are Just Real Life, Formalized

Which Algorithm Is This? If you step back, this maps almost perfectly to the Top K Frequent Elements problem.We usually solve it for integers in a list. Here, the "elements" are audience profiles age and body-type combinations. First, define what an audience profile looks like: case class Profile(age: Int, height: Int, weight: Int) What we want is a function like this:
Scala
fromMedium
1 month ago

Fire-and-Forget REST APIs: A TDD Journey.

The request for its API val request = Request[IO](Method.POST, uri"/jobs")val api = new AsyncJobApi // this will not compile since AsyncJobApi is not defined yet Minimal implementation to make it green: class AsyncJobApi Red test: The API should return a 202 Accepted response: "POST /jobs returns Accepted" in { val request = Request[IO](Method.POST, uri"/jobs") val api = new AsyncJobApi api.routes.orNotFound.run(request).asserting : response => response.status shouldBe Status.Accepted} Make it green: class AsyncJobApi { val routes: HttpRoutes[IO] = HttpRoutes.of[IO] : case req @ POST -> Root / "jobs" => Accepted()} 5.2 Add headers (Trivial Implementation) Red test: add X-Total-Count and Location headers with job ID (only the assertion is shown)
Scala
Scala
fromScala-lang
1 month ago

The Sovereign Tech Fund invests in Scala

Sovereign Tech Fund invested €377,300 in Scala via the Scala Center for a two-year program to strengthen security, maintenance, and developer experience.
Scala
fromMedium
1 month ago

I Thought Scala Was Vibe Coding

Scala emphasizes immutability, expression-oriented programming, powerful pattern matching, and Option-based null safety for more concise, safer, and more composable JVM code.
fromMedium
1 month ago

From Scala to Kotlin: A Frustrated Engineer's Honest Take

Over the past months, I've watched two clients move from Scala (Play, Slick, Akka, Akka Http ... ) to Kotlin (Spring, JPA/Hibernate). In my current role, an engineering decision was made to move away from Scala. The decision was driven less by Scala's shortcomings and more by long-term career risk management: leaders understandably favor stacks (Java/Kotlin) that maximize hiring flexibility in a volatile market.
Scala
fromScala-lang
1 month ago

Scala 3.8 released!

We're pleased to announce the release of Scala 3.8 - a significant release that modernizes the Scala ecosystem and paves the way for Scala 3.9 LTS. This release introduces a standard library compiled by Scala 3 itself, stabilizes highly-anticipated features like Better Fors (SIP-62) and runtimeChecked (SIP-57), and introduces experimental features including flexible varargs and strict equality pattern matching. A runtime regression was detected after publishing Scala 3.8.0 artifacts.
Scala
fromMedium
2 months ago

Agentic Workflows in Scala (Without the Buzzwords)

High-level view of the travel search workflow, highlighting parallel searches, explicit decision points, and iterative refinement. In Scala, we define this workflow using Workflows4s, encoding both state and transitions explicitly in the type system. Instead of opaque state blobs or untyped contexts, the state of the process is represented using algebraic data types - types like Started, Found, Sent, and Booked - each corresponding to a distinct point in the workflow's lifecycle.
Scala
Scala
fromMedium
2 months ago

Scala Dependency Injection for Java Developers (Part 1): Why Spring DI Feels Heavy

Spring DI uses runtime reflection and implicit wiring, giving convenience but causing hidden coupling, runtime resolution, and added complexity compared with Scala's explicit, compile-time approach.
Scala
fromMedium
2 months ago

Scala Dependency Injection for Java Developers (Part 2): Given and Using Explained

Scala 3's given and using provide compile-time, type-driven dependency injection without runtime scanning, reflection, or @Autowired.
Scala
fromMedium
3 months ago

Why Metaprogramming Usually Makes Things Worse

Metaprogramming tools like macros and templates are rarely necessary and often harmful, increasing compilation costs, complexity, and slowing development feedback loops.
fromMedium
2 months ago

Type Classes: How Scala Achieves Polymorphism Without Inheritance

Imagine you're working with a third-party library that provides a User class. You need to add JSON serialization to it, but you can't modify the source code. Of course you can create a wrapper class or extend it, but that feels clunky and breaks existing code that expects the original type. This is where type classes shine. They're one of Scala's most powerful patterns, and they're the secret ingredient in popular libraries like Cats, Scalaz, and Circe.
Scala
[ Load more ]