RJUG #20 SoftwareMill’s JUG tour!
- 18:00 Networking
- 18:30 Adam Warski FP + relational databases = ?
- 19:30 Mikołaj Koziarkiewicz Scala for the People (again)! Simpler coding with Scala 3/Dotty
FP + relational databases = ?
Functional programming is an increasingly popular approach to writing and thinking about code. Is it also applicable to such daily programming tasks as accessing a relational database? Is it possible to work with transactions in a "functional" way? Yes! But what does it mean in practice? And is this any better than using JPA's or Spring's @Transactional?
In this live-coding session, we'll try to answer these questions, and demonstrate how the "functional" approach improves over the "traditional" one in three areas: working with multi-thread code, requiring a framework and precisely delimiting transaction boundaries.
We'll be focusing on one specific problem area, however the techniques that we'll use have broader applicability, and are often used to solve other problems as well.
I am one of the co-founders of SoftwareMill, where I code mainly using Scala and other interesting technologies. I am involved in open-source projects, such as sttp, tapir, Quicklens, ElasticMQ and others. I have been a speaker at major conferences, such as JavaOne, LambdaConf, Devoxx and ScalaDays.
Apart from writing closed- and open-source software, in my free time I try to read the Internet on various (functional) programming-related subjects. Any ideas or insights usually end up with a blog (https://softwaremill.com/blog).
Scala for the People (again)! Simpler coding with Scala 3/Dotty
Scala 3/Dotty is relatively close to being released, most of its features are already determined. So, what it is it exactly, and how can it make programming on the JVM an easier job for yourself?
About Mikołaj Koziarkiewicz
Currently at SoftwareMill, Mikołaj is an enthusiast of multi-paradigm coding, a firm believer in using the right tool for the job, and an occasional perambulatory Wikipedia mirror. He's convinced that taking lazy shortcuts backfires on a programmer sooner or later, and is committed to doing things “the right way”. Mikołaj is also a contributor into open source, and author of several utility and wrapper libraries (travesty, helisa).