Blog of Adam Warski

Java, Scala, programming, ...

  • Blog of Adam Warski Twitter
  • Blog of Adam Warski Google+
  • Blog of Adam Warski RSS

Primary menu

Skip to primary content
  • Home
  • About me / my projects
  • All Posts

Category Archives: Functional programming

Event sourcing + free monads = free sourcing?

  • By Adam Warski
  • 28 October, 2015
  • 6 Comments

I recently wrote about Event Sourcing and Free Monads. The natural next step is combining the two! How would a free monad adjusted for event sourcing look like? Please bear … Continue Reading →


akka-stream vs scalaz-stream

  • By Adam Warski
  • 2 June, 2015
  • No Comments

I recently published a comparison of akka-stream and scalaz-stream, with code examples (same problems implemented using both libraries) on SoftwareMill’s blog.


Quicklens: traversing options and lists

  • By Adam Warski
  • 14 March, 2015
  • 21 Comments

Quicklens is a small library which allows to modify deeply nested fields in case classes e.g.: modify(person)(_.address.street.name).using(_.toUpperCase), without the need to create dedicated lens objects. I got some very good … Continue Reading →


Quicklens: modify deeply nested case class fields

  • By Adam Warski
  • 28 February, 2015
  • 35 Comments

TL;DR: Quicklens: modify deeply nested fields in case classes, e.g.: modify(person)(_.address.street.name).using(_.toUpperCase). Similar to lenses, but without the actual lens creation. Lenses are very useful when you have to update a … Continue Reading →


In today’s post-OO world, is dependency injection still relevant?

  • By Adam Warski
  • 23 February, 2015
  • 8 Comments

It’s 2015. Most of the new popular languages are more or less functional. The old ones, like Java, gain functional programming elements. In Scala, people are increasingly leaning towards the … Continue Reading →


Functional Discrete Optimization @ Coursera with Scala

  • By Adam Warski
  • 13 May, 2014
  • 1 Comment

Recently I took part in the Discrete Optimization class at Coursera. I must say that it was the best MOOC I have attended so far, because of two factors. First … Continue Reading →


Traffic simulation game in Elm

  • By Adam Warski
  • 7 January, 2014
  • 1 Comment

A couple of weeks ago I read about Elm, a new functional language, which compiles to JavaScript and HTML. Elm is designed with the browser in mind, most notably by … Continue Reading →


Missing OO and FP bridge in Scala

  • By Adam Warski
  • 18 August, 2012
  • 10 Comments

Scala blends functional and object-oriented programming in many nice ways. You can use both FP an OO-like constructs whichever fits the current problem better. But there’s always room for improvement! … Continue Reading →


MOVED


I'm now blogging on SoftwareMill's blog. Please follow me there!

Recent Posts


  • Kafka with selective acknowledgments performance & latency benchmark
  • Why I started learning Emacs in 2016
  • Add a “dependencies” badge & tree to your project using UpdateImpact
  • Event sourcing + free monads = free sourcing?
  • MacWire 2.0: composing modules & cleanup

Links


Follow me on twitter!

Looking for end-to-end software development, project management, Scala experts? SoftwareMill is here to help:
Did you ever have problems with updating or managing dependencies in your Scala/Java/Groovy projects? Check out UpdateImpact!

Interested in weekly Scala news?

The best code-review tool:

Top Posts & Pages


  • Quicklens: modify deeply nested case class fields
  • About me / my projects
  • How do iBeacons work?
  • Clean URLs in Seam: URLRewriteFilter
  • Dependency Injection and replacing dependencies in CDI/Weld
  • DI in Scala: Cake Pattern pros & cons
  • Trying to understand CAP
  • Using Scala traits as modules, or the "Thin Cake" Pattern
  • Benchmarking SQS
  • MacWire 1.0 is here!

Categories


Archives


Copyright © 2007-2023 Blog of Adam Warski. All Right Reserved.
Powered by: WordPress | Theme: Simple Catch Pro
 

Loading Comments...