Tag: Functional Programming

Take The Best From Both Worlds: Functional AND Object-Oriented Programming

Wondering what are the benefits of functional and object-oriented programming and how to combine them? Look no further: this slide deck highlights key features of both approaches in a structured manner.

Read more...

Practical Intro to Monads in JavaScript: Validation

Few weeks ago I published a practical Intro to Monads in JavaScript where I covered basics of Identity and Maybe monads. Some time later I added a tutorial on Either monad and fails-fast error handling. This time I will show you error accumulation in a simple Validation use case.

Read more...

React vs Angular2: The fight rages on

Google’s Angular and Facebook’s React are now most popular tools for building browser (and not only) applications. Both are great solutions. While Angular2 is still in beta it has been already tested by few Google developer teams – AdWords, GreenTea and Fiber. List of applications built with React is really long and you can find there names like Instagram, Netflix, PayPal and many more.

Brutal war is coming.

Read more...

Practical Intro to Monads in JavaScript: Either

My simple and practical Intro to Monads in JS, where I covered basics of Identity and Maybe monads, seemed to be helpful for a lot of folks, so I’ve decide to continue the topic. Now it’s time for Either – a tool for fast-failing, synchronous computation chains. A tool that may increase readability and quality of code while reducing error proneness. The best part is that we can still ignore the category theory!

Read more...

Presentation: Awesomely descriptive JavaScript with monads

Can unfamiliar pattern from world of statically typed functional languages improve JavaScript world? For sure YES! The elastic nature of JavaScript can handle great ideas from many alien worlds. With a little help of modern tools like ​monet.js​ and ​TypeScript​ we can achieve awesomely descriptive aesthetics of our code and drop some imperative bloat.

Read more...

Practical Intro to Monads in JavaScript

If you’ve heard about Monads but never had time learn them, here’s a simple explanation. Not a theoretical nonsense. It’s a simple, practical tutorial for JavaScript developers showing how some monads can be used. It’s for engineers, not scientists.

Read more...

Glimpse at the State of Functional Programming

Recently, our whole backend team visited Lambda Days – The Functional Programming Conference. Two days, multiple presentation tracks, lobby and pub talks gave our five agents unique glimpse into the state of the functional programming ecosystem. The conference scope covered several functional languages – Erlang, Haskell, Clojure, Lisp, OCaml – which gave us a broader context to what […]

Read more...