Matej Cerny's avatar
Matej Cerny
npub17hpl...yx66
Functional programming enthusiast with strong foundations in the relational databases world #FP #Scala #Postgres
Matej Cerny's avatar
matejcerny 1 month ago
🧠 Scala 3 Quiz: What are the inferred types here? #scala image
Matej Cerny's avatar
matejcerny 1 month ago
Java devs, have you noticed that List, Optional, and CompletableFuture all behave like containers you can map over? Yet, the syntax is inconsistent. Sadly, you can't write an interface to enforce a common API, at least not in Java. Search for "Higher-Kinded Types" if you're curious how other languages like Scala solve this. #java image
Matej Cerny's avatar
matejcerny 1 month ago
Java devs, have you noticed that List, Optional, and CompletableFuture all behave like containers you can map over? Yet, the syntax is inconsistent. Sadly, you can't write an interface to enforce a common API, at least not in Java. Search for "Higher-Kinded Types" if you're curious how other languages like Scala solve this. #java image
Matej Cerny's avatar
matejcerny 1 month ago
The greatest improvement over the years is that now we send CSV files via an S3 bucket instead of SFTP.
Matej Cerny's avatar
matejcerny 1 month ago
The biggest shift in Scala 3.8 is that the standard library is finally being built with Scala 3 (up until now, it was still Scala 2!). So, what changes for us end users? Absolutely nothing! And that’s beautiful. 🧘‍♂️ #scala
Matej Cerny's avatar
matejcerny 1 month ago
"Better-fors" are leaving preview with the release of Scala 3.8. It looks like a small DX upgrade, but under the hood, the desugaring is a lot simpler, skipping redundant `.map` calls. See the official documentation. #scala image
Matej Cerny's avatar
matejcerny 1 month ago
Quick clarification☝️Just because Scala itself targets JDK 8 doesn't mean your app has to! You're free to use any JDK 8 or newer. Scala 3.8 will raise the minimum required JDK to 17, but you'll still be able to use the latest JDKs (21, 25, etc.) for your own projects. #scala #jdk View quoted note →
Matej Cerny's avatar
matejcerny 1 month ago
Let's look at four possibilities that JDK 17 adoption could unlock for the upcoming #Scala versions. 🧵
Matej Cerny's avatar
matejcerny 1 month ago
With #Scala 3.8 around the corner, let's recap its biggest changes: 1️⃣ JDK 17 as a minimum version 2️⃣ "Better fors" (SIP-62) 3️⃣ Standard library built with Scala 3
Matej Cerny's avatar
matejcerny 1 month ago
The biggest improvements in #Scala 3 are not enums or nicer implicits syntax, but: 🤝 Making binary compatibility across versions possible (via TASTy) ⚡ A built-in interactive compiler (instead of a batch tool) 🔗 A modular architecture that makes new features easier to add
Matej Cerny's avatar
matejcerny 1 month ago
Streams are a powerful tool for control flow, covering topics such as event handling, file processing, reading from the database... Learn more from Zainab Ali's talk at the London Scala User Group. #scala
Matej Cerny's avatar
matejcerny 1 month ago
Please share so my boss Michal is happy! 😂 Or to spread the word about VirtusLab / SoftwareMill's new podcast! 📢 Or to support local #Scala agencies! 💪
Matej Cerny's avatar
matejcerny 1 month ago
There are so many great thoughts, to pinpoint just a few: 1️⃣ Tooling is nowhere near other languages 2️⃣ Missing a true "Spring Boot-like" framework 3️⃣ Official docs need real-world examples 4️⃣ The persistent misconception that "you need async for performance" #scala
Matej Cerny's avatar
matejcerny 1 month ago
The tech industry is creating its own talent crisis. By ditching junior devs for AI hype, companies are just burning out their seniors and killing the future talent pipeline. #ai