bagdemir's blog

Hi, I'm Erhan Bagdemir, Software Engineer at Adobe Systems and here on my blog, I am mostly writing about Software Development and my personal opinions.


Once you get a job, and code for others and get paid for it, you are a professional, a part of the whole, a cell in business organism and the...

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...

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...

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...