Have you ever heard of point-free coding? What is it? When should you use it?

In this article, I will discuss point-free styling, including:

  • What point-free programming is
  • Practical examples of point-free codes
  • The benefits of point-free styling
  • How to incorporate point-free styling in your code
  • Disadvantages of point-free programming and when not to use it

Point-free styling (also known as Tacit programming), is a programming paradigm in which the function definitions do not identify or take the arguments (also known as “points”) on which they operate. …

Ever heard about “currying” in the programming language paradigm? Nope, it’s not an Indian recipe, but it can certainly make your code tastier.

Whether you’ve encountered closures and currying before or you’re new to this, in this guide you’ll learn about:

  • The difference between closures and currying
  • Currying and its main advantages
  • Why you should use currying in your projects

I will give you the theory as well as valid use-cases, examples, and a solid mathematical background.

Disclaimer: I will base this article on JavaScript, however, the main idea can be applied to any modern programming language.

Photo by Pushpak Dsilva on Unsplash

What are closures?

A closure may…

Ferran Buireu

I am rubber, you are glue

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store