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 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 @npub1fsvd...y05d
Matej Cerny's avatar
matejcerny 1 year ago
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
Matej Cerny's avatar
matejcerny 1 year ago
Even if you don't prefer direct-style Scala (i.e., function coloring is a feature for you, not a bug), I recommend watching a walkthrough video about the Ox library, grinded in the SoftwareMill. #scala3 #projectloom
Matej Cerny's avatar
matejcerny 1 year ago
It's so convenient now to write simple scripts thanks to Scala 3, scala-cli, and Li Haoyi's os-lib. This particular script, for instance, simply created exact copies of a bank logo with different names. #scala3 image
Matej Cerny's avatar
matejcerny 1 year ago
This video serves as a reminder of the importance of rigorous testing and the responsibility that comes with writing code. It's difficult to watch to the end, knowing the tragic consequences. #qa #bugfixing #codereview #testing
Matej Cerny's avatar
matejcerny 1 year ago
Just got a job offer that requires me to be a full-stack, database-wielding, compiler-hacking, plugin-creating superhero. πŸ˜‚ Feel free to share your craziest job requirements πŸ‘‡ #hr #jobdescription
Matej Cerny's avatar
matejcerny 1 year ago
Seriously, if you're a programmer, you should definitely try home row mods ⌨️ Ideally pair them with any keyboard with columnar layout (like the #Voyager). Trust me, your fingers will thank you. πŸ‘ @dreamsofcode_io #coding #keyboards #lifehacks #typingtips
Matej Cerny's avatar
matejcerny 1 year ago
That's a very good take on the superiority of FP. It's important to remember that skill varies in any paradigm, but at least my experience suggests that strong programmers are more common in the functional community. πŸ€·β€β™‚οΈ #functionalprogramming
Matej Cerny's avatar
matejcerny 1 year ago
I hope you're all aware by now, but there was an incident a couple of days ago while releasing an RC version of Scala Next. Please read the official statement and don't use Scala 3.6 in production code! #scala3 #incident
↑