Skip to main content


Photo of Erhan Bagdemir

Erhan Bağdemir's Blog

Hey there, here is Erhan and I'm a software engineer and a passionate photographer and in this blog I am writing about information technology. You can also find me on Twitter.




Mesos: A Datacenter OS

Posted: January 10, 2016 | Mesos , Infrastructure
The need of orchestration of heterogeneous infrastructure, non-unified characteristics of the hardware on different server systems and fluctuating resource needs of software and the challenges in resource utilisation, urges us to rethink, how to deal with the vast amount of servers in our datace...

Lifting in Scala

Posted: July 25, 2015 | Scala , Functional Programming
Partial functions are widely used in Scala. Just like their mathematical counterpart, a partial function, e.g f: X => Y, is a generalisation of functions, that don’t necessarily map every element in domain X to Y. You won’t get a response from the function, if you pass a value, which the f...

A Brief Story of flatMap

Posted: July 12, 2015 | Scala , Functional Programming
The function flatMap, in Scala, is basically a binding element (and also a functional combinator) in the language and key to understand some important concepts of functional programming, and in this blog article, I am going to introduce you some of these, which are heavily based on flatMap. I ass...

Scala Companion Objects

Posted: February 15, 2015 | Programming , Scala
It’s a very common approach to create new objects using factory methods in object-oriented programming as it is in Java. It allows us to decrease coupling between software components while realizing one of the most popular OOP-rule “base on abstractions instead of implementations”. However, the w...
« Prev 1 2 3 4 (5) Next »