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 yesterday
Reading the Scala style thread... My opinion (echoing others) is that this "hybrid" recommendation is weak. I would personally go 100% indentation-based so I don't have to think about which style to use in which case. But what bothers me more is that the current state allows for weird mixes (see image). We should "fix" cases where indentation isn't strictly required - like for-comprehensions and if statements. Make it strict everywhere. (scalafix can handle the migration) #scala image
Matej Cerny's avatar
matejcerny 2 days ago
I've mentioned how Java is catching up to Scala multiple times now. This video perfectly summarizes the recent progress - from null-restricted types to value classes and beyond. πŸ‘‡ #java
Matej Cerny's avatar
matejcerny 2 days ago
πŸ’‘ If you want to quickly visualize your git history, check out Serie. It's a lightning-fast TUI built in Rust πŸ¦€ that supports basic Vim motions out of the box. #git #vim image
Matej Cerny's avatar
matejcerny 2 days ago
πŸ’‘ If you want to quickly visualize your git history, check out Serie. It's a lightning-fast TUI built in Rust πŸ¦€ that supports basic Vim motions out of the box. #git #vim image
Matej Cerny's avatar
matejcerny 3 days ago
πŸ’‘ Did you know that in Scala 3, ScalaDoc supports Markdown by default? #scala
Matej Cerny's avatar
matejcerny 5 days ago
My last day drinking "Madeira Libre". πŸ₯ƒ I briefly checked what happened while I was hiking, and it looks like I have a lot of reading to do! Not gonna lie, I'm not sure if I'll start next week on a positive note. image
Matej Cerny's avatar
matejcerny 1 week ago
No Scala content this week as I'm hiking in Madeira. πŸ‡΅πŸ‡Ή One note though - it's impossible to rent an EV here, so we went with a petrol Skoda. It is amazing how a "brand new" 2025 model car feels like ancient technology. image
Matej Cerny's avatar
matejcerny 1 week ago
Reading the new Scala concurrency proposal. To me, it feels like it's going against the majority of the ecosystem. Instead of building parallel worlds and restarting the language yet again, I'd rather see a truly monadic Future that interoperates seamlessly with the FP stack. I'm not convinced direct style is actually simpler. You are just trading flatMap chains for Context Functions and Givens. And the functions are still colored, just with a different shade. Please, let Scala be Scala. Don't try to make it Go. Happy to be proven wrong, though. #scala image
Matej Cerny's avatar
matejcerny 2 weeks ago
In sbt 2.0, --client mode becomes the standard. But you should be using it today. ☝️ It spins up the server in the background, so you don't even need a separate terminal window with sbt open. (Unless you're obsessed with memory control like me πŸ˜€) #Scala
Matej Cerny's avatar
matejcerny 2 weeks ago
Finally... a sane way to work with Jira! #Claude image
Matej Cerny's avatar
matejcerny 2 weeks ago
Testing in Zed is finally seamless with the newest version of the Scala plugin! πŸŽ‰ Basic tasks and test buttons now work straight out of the box. No setup required. Watch it in action πŸ‘‡ #scala
Matej Cerny's avatar
matejcerny 2 weeks ago
Good engineering teams own their mistakes. What went wrong with the initial release of Scala 3.8 and how the compiler team fixed it in such a short time? Detailed breakdown πŸ‘‡ #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
Scala tooling has definitely rough edges, but name me a single ecosystem where the dependency bot can seamlessly update your dependencies, rewrite the codebase to match the newer API, and send a green PR? I'm talking about Scala Steward + Scalafix rules, of course. πŸš€ #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
Big shoutout to the German tax payers for funding the future of Scala! πŸ‡©πŸ‡ͺπŸ’Έ The budget won't only go to the Standard Library, but will also impact the tooling we use daily: πŸ“Š scoverage βš™οΈ sbt 2.0 Danke schΓΆn! #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
"Scala.js doesn’t need to compete with TypeScript and React for customer-facing products. There is a much better and more realistic opportunity: internal tools." I completely agree. The sweet spot for Scala.js isn't the landing page. It's the Admin Panel. 🎯 Check out the new Forms4s library by @Krever01. It ships with Tyrian πŸ‘Ύ support out of the box, but because it's composable, you aren't locked into a specific UI framework. https://medium.com/business4s-blog/forms4s-rapid-internal-ui-development-18f1a6ec1cb0 #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
"Scala.js doesn’t need to compete with TypeScript and React for customer-facing products. There is a much better and more realistic opportunity: internal tools." I completely agree. The sweet spot for Scala.js isn't the landing page. It's the Admin Panel. 🎯 Check out the new Forms4s library by @Krever01. It ships with Tyrian πŸ‘Ύ support out of the box, but because it's composable, you aren't locked into a specific UI framework. https://medium.com/business4s-blog/forms4s-rapid-internal-ui-development-18f1a6ec1cb0 #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
πŸ’‘ I finally installed zoxide last week. If you haven't, do it now! It's a smarter cd command that learns your habits. No AI involved, just good old-fashioned statistics. Go watch this video, I promise you'll love it! ❀️
Matej Cerny's avatar
matejcerny 3 weeks ago
Prague friends! πŸ‡¨πŸ‡Ώ The next Functional JVM meetup is happening on Feb 9th at Adastra. The topic is spicy, they are pitching it as "modern abstractions" that aren't just a copy of Haskell 😼 πŸ–οΈ I’ll be enjoying some time off so I can't make it. Register here: #Scala
Matej Cerny's avatar
matejcerny 3 weeks ago
This video should have been called "The most complicated implementation of a Counter". I'm leaving with more questions than answers πŸ˜€ #scala
Matej Cerny's avatar
matejcerny 3 weeks ago
I just tried Slack AI, and it’s arguably the best use case for LLMs I’ve seen in a SaaS product. Look at this summary: πŸ‘‡ Does MS Teams have the same feature? image
↑