<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scala on Occasionally consistent</title><link>https://blog.pjam.me/tags/scala/</link><description>Recent content in Scala on Occasionally consistent</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 02 Jan 2023 14:44:06 +0100</lastBuildDate><atom:link href="https://blog.pjam.me/tags/scala/index.xml" rel="self" type="application/rss+xml"/><item><title>Data Structures, Abstractions, Time Complexity and Speed</title><link>https://blog.pjam.me/posts/data-structures-abstraction-time-complexity-and-speed/</link><pubDate>Tue, 13 Apr 2021 12:56:29 +0000</pubDate><guid>https://blog.pjam.me/posts/data-structures-abstraction-time-complexity-and-speed/</guid><description>A better time complexity does not mean faster. In this article we look at various abstractions such as Sets and Maps in different languages (and in Redis).</description></item><item><title>Parallel Validation for Railway Oriented Programming in Scala</title><link>https://blog.pjam.me/posts/railway-oriented-programming-scala-parallel/</link><pubDate>Wed, 15 Jul 2020 15:37:55 -0400</pubDate><guid>https://blog.pjam.me/posts/railway-oriented-programming-scala-parallel/</guid><description>A followup to the previous post about Railway Oriented Programming in Scala, adding support for parallel validations</description></item><item><title>Railway Oriented Programming in Scala</title><link>https://blog.pjam.me/posts/railway-oriented-programming-scala/</link><pubDate>Fri, 26 Jun 2020 16:34:55 -0400</pubDate><guid>https://blog.pjam.me/posts/railway-oriented-programming-scala/</guid><description>Playing with the Railway Oriented Programming concepts in scala. Translating them from F# and seeing how we can adapt them to Scala constructs. We will not mention Monads. I just did, but that was the only time.</description></item><item><title>Error Handling in Scala</title><link>https://blog.pjam.me/posts/error-handling-in-scala/</link><pubDate>Sat, 04 Jan 2020 00:00:00 +0000</pubDate><guid>https://blog.pjam.me/posts/error-handling-in-scala/</guid><description>&lt;h5 id="previously-published-on-mediumhttpsmediumcompierre_jambeterror-handling-in-scala-1197a742d6a5">Previously published on &lt;a href="https://medium.com/@pierre_jambet/error-handling-in-scala-1197a742d6a5">Medium&lt;/a>&lt;/h5>
&lt;p>After a few years of using Scala to develop backend services at Harry’s, we developed a robust approach to error handling, leveraging its powerful type system. It takes advantage of the flexibility of Scala types and tries to avoid defensive programming such as aggressive exception catching and re-throwing.&lt;/p></description></item></channel></rss>