Matej Cerny's avatar
Matej Cerny
npub17hpl...yx66
Scala & Functional Programming Engineer. Database/SQL Veteran. #FP #Scala #Postgres
Matej Cerny's avatar
matejcerny 2 weeks ago
Claude's default method for searching APIs is very inefficient and costly, it usually searches and parses Javadocs or even downloads and extracts JARs. 💰 Cellar lets you instantly query the public API of any Maven JVM dependency right from the terminal. 👇 #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
Mirrors are garbage. That's the core message from Kalin Rudnicki's talk at Func Prog Sweden! #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
Compile-time validation in Scala 3 is beautiful. By using inline extension methods, we can throw compiler errors for invalid data before the code even runs. #scala image
Matej Cerny's avatar
matejcerny 3 weeks ago
Scala Native + Tapir + htmx. The ultimate combo! ❤️
Matej Cerny's avatar
matejcerny 1 month ago
The Scala compiler doesn't type-check Chuck Norris's code. Chuck Norris type-checks the compiler. #scala
Matej Cerny's avatar
matejcerny 1 month ago
Who gets excited about a logging framework? You will when you see these benchmarks. 👇 Scribe gives you detailed method and line number logging with absolute zero runtime cost. How? It uses Scala macros to bake the info in at compile time. Plus, it brings that pure speed to the JVM, Scala.js, and Scala Native! 🚀 It is completely worth spending a few minutes today to rip out your existing logging library and replace it with this! 💎 #scala image
Matej Cerny's avatar
matejcerny 1 month ago
I'm currently working on a tiny library and the truth is, that at least 90 % of the code are bridges to a different json codecs and db backends. And I haven't even started with the ZIO interop 🤷 I also don't want to have a full-fledged effect system baked in the standard library, but just imagine the developer experience if cats-effect and ZIO shared a single, unified API! https://medium.com/@w.pitula/rage-against-the-plurality-of-effect-systems-c0b3b0be0f69 #scala
Matej Cerny's avatar
matejcerny 1 month ago
Scoverage is one of the first plugins I add to any new project. The compiler team finally did the same and found some breakages - but they're already fixing them! 👏 Hopeful that Scoverage in Scala 3 hits full parity with Scala 2 very soon.🤞 #scala
Matej Cerny's avatar
matejcerny 1 month ago
I'm trying to implement Noel Welsh's better encoding, but I'm not sure if it's suitable for such a small library. Also, I honestly don't think I fully understand it! 😀 I would appreciate any comments or feedback. 🙏 #scala image
Matej Cerny's avatar
matejcerny 1 month ago
I used to think LLMs would make #Python and other mainstream languages dominate forever. But if AI is writing the code, you don't need a language just because it's easy for beginners or hiring. You don't even need to fear refactoring anymore. What you really need is a language that catches the AI's mistakes. You need strong compilers and strict types (like #Rust or #Scala) to act as safety nets when the AI messes up. This article changed my perspective 👇
Matej Cerny's avatar
matejcerny 1 month ago
Cats Effect v3.7.0 is officially here! 🎉 We've been waiting since the RC dropped back in July 2025 and it finally brings what we wanted: support for Scala Native 0.5. 🚀 What does that mean? Full multithreading on LLVM! ⚡️ The changelog is absolutely massive, go read it for yourself 👇 #scala