Matej Cerny's avatar
Matej Cerny
npub17hpl...yx66
Scala & Functional Programming Engineer. Database/SQL Veteran. #FP #Scala #Postgres
Matej Cerny's avatar
matejcerny 1 year ago
Many people still don't realize that Bitcoin is a universal store of value. Imagine what could happen to real estate prices if the need to buy new apartments simply as a store of value disappeared. #bitcoin #storeofvalue
Matej Cerny's avatar
matejcerny 1 year ago
"Technology is a fashion industry." Experienced developers have seen many trends come and go. Focus on the core principles of software development. Solve problems efficiently and write clean, maintainable code. That's what truly matters in the long run.
Matej Cerny's avatar
matejcerny 1 year ago
How a single marketing choice in the 90s forever shaped the language that powers the web πŸ˜” #javascript #oracle
Matej Cerny's avatar
matejcerny 1 year ago
Please make an ultrawide and curved variant πŸ™ #monitor
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
Pagination can be challenging. This video is a great starting point for those new to it. It's short, but very informative. #pagination
Matej Cerny's avatar
matejcerny 1 year ago
If you're passionate about your work, you won't burn out.
Matej Cerny's avatar
matejcerny 1 year ago
Apache Spark will always have a special place in my heart β™₯️ #spark
Matej Cerny's avatar
matejcerny 1 year ago
What do startups need? A scalable language!
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
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 @SoftwareMill
↑