Avatar
Matej Cerny
f5c3f597f754f534d47b0be2b9afe263894ecdad3d639453c4abc31f40db2c23
Functional programming enthusiast with strong foundations in the relational databases world #FP #Scala #Postgres

Please make an ultrawide and curved variant πŸ™ #monitor https://youtu.be/rp1fEKGkG2M

Let's be real, opening a Java file after years of Scala is like entering a different dimension. Constructors, static elements, and builders are all over the place with no apparent order... It makes me appreciate how Scala seamlessly integrates these features into the language itself, making the code so much cleaner and easier to navigate. #java #scala #cleancode

The most important takeaway: Adopt value/opaque types in your Scala code, if you're not already using them. They're a zero-cost abstraction that drastically improves type safety and readability πŸ’ͺ #ddd https://www.youtube.com/watch?v=-8k3WfXVHkc

Big bang rewrite or organic evolution? πŸ€” Our team chose the latter for migrating to the braceless syntax and features of Scala 3. We'll refactor code incrementally as we work on it. Personally, I've fallen in love with the new syntax 😍 and can't wait for the changes to for-comprehensions and context bounds in Scala 3.6! #scala3 #refactoring

Technical debt is the #1 frustration for developers. Are you surprised? #technicaldebt https://survey.stackoverflow.co/2024/professional-developers

Pagination can be challenging. This video is a great starting point for those new to it. It's short, but very informative. #pagination https://youtu.be/14K_a2kKTxU

If you're passionate about your work, you won't burn out.

Apache Spark will always have a special place in my heart β™₯️ #spark https://youtu.be/IELMSD2kdmk

I hope there aren't that many codebases still stuck on Scala 2.12 (@twitter πŸ˜‰), but if yours is, this is a great resource to read. While it focuses on Spark, honestly, anyone making the jump to 2.13 will find it incredibly useful. It covers everything from essential compiler options and helpful plugins to the subtle changes in the standard collections library. #scala #spark #migration https://substack.com/home/post/p-151720625

F# 9 introduces auto-generated "is" properties for "enums", enabling checks like .isPhone or .isEmail. While convenient, consider minimizing boolean usage in your code. Boolean logic is error-prone and difficult to read and maintain. Always use proper domain types (On/Off, Valid/Invalid, ...) together with pattern matching for improved readability and type safety. #fsharp #boolean #cleancode

https://youtu.be/2Q9GRPxqCAk

Lightbend is now Akka and has launched Akka 3, the next generation of the platform. #akka https://akka.io/blog/lightbend-is-now-akka

Quick tipπŸ’‘ The best way to learn Vim motions is by refactoring your code. Try moving a function and updating all its calls, renaming variables, moving code blocks, etc. The more you use them in real-world scenarios, the faster you'll become. #vim #coding

IntelliJ rocks! The new version of the Scala plugin is out, with support for named tuples, better recognition of opaque types, optimisations in compilation, and more. #scala3 https://blog.jetbrains.com/scala/2024/11/13/intellij-scala-plugin-2024-3-is-out/

While Kotlin offers improvements over Java, Scala's focus on immutability and functional programming can lead to more reliable and maintainable systems in the long run. It might be worth skipping the intermediary step and going straight to Scala for those benefits. #java #kotlin #scala nostr:npub1fsvdwzhywlxc6gxp99g2c4g9aydyhlaamw2jhs6ajpnxts8nyv4sswy05d https://softwaremill.com/why-should-your-company-consider-switching-from-java-to-kotlin/

There's a special place in silicon heaven for libraries without external dependencies. #scala3 https://github.com/Aliics/mouse

A journey from early algorithms at Bell Labs, through the NFTs, to modern generative AI πŸŽ¨πŸ’». Rare to find a computer art history talk at a dev conference! I like it! #art #computerart #history #nft #ndcconference https://youtu.be/brHcLupsy14

𝕏 just open-sourced another Scala library, but it's still on Scala 2.12! 🐦 As an early adopter, they've probably got a ton of legacy code and know how tricky Scala migrations can be. Great to see they're still committed to Scala after all these years! #scala #twitter #x #opensource https://github.com/twitter/stitch