Matej Cerny's avatar
Matej Cerny
npub17hpl...yx66
Scala & Functional Programming Engineer. Database/SQL Veteran. #FP #Scala #Postgres
Matej Cerny's avatar
matejcerny 3 months ago
I have a confession to make. In my entire career, I think I’ve explicitly used Coursier exactly once. And that was only to get the Metals integration working with Zed. #scala
Matej Cerny's avatar
matejcerny 3 months ago
You all saw the ad for the Brilliant app, right? It's on almost every tech video. But did you know that it's built with Elm? Great talk from Evan Czaplicki covering several strategies on how to grow more functional programmers 🌳 #elm
Matej Cerny's avatar
matejcerny 3 months ago
Don't be a caveman using println (like me). Be more like John Carmack and properly learn how to use the debugger! #scala
Matej Cerny's avatar
matejcerny 3 months ago
It's Advent of Code time again. πŸŽ„ If you haven't tried Scala yet, this is the perfect opportunity. But don't take my word for it, check out what these three random guys on the internet have to say. 🀣 πŸ‘‡ #scala #AdventOfCode image
Matej Cerny's avatar
matejcerny 3 months ago
It's Advent of Code time again. πŸŽ„ If you haven't tried Scala yet, this is the perfect opportunity. But don't take my word for it, check out what these three random guys on the internet have to say. 🀣 πŸ‘‡ #scala #AdventOfCode image
Matej Cerny's avatar
matejcerny 3 months ago
Those tools the guys are talking about are honestly awesome. In short, when you want to communicate with another service, you simply add a contract to the central registry. Everything else is generated automatically, so you only need to implement the business logic without worrying about JSON serialization or route configuration. #scala
Matej Cerny's avatar
matejcerny 3 months ago
Pattern matching on interpolated strings is powerful, but can be a bit cryptic. In such cases, I still prefer .contains #scala image
Matej Cerny's avatar
matejcerny 3 months ago
Metals 1.6.4 is out πŸŽ‰ It features improvements for Java, VS Code lenses and sbt error diagnostics. Automatic imports on copy-paste were also reworked. Plus, this release is already prepared for Scala 3.8. #scala
Matej Cerny's avatar
matejcerny 4 months ago
🧠 Scala 3 Quiz: What are the inferred types here? #scala image
Matej Cerny's avatar
matejcerny 4 months 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 4 months 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 4 months 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 4 months 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 4 months 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
↑