Functional Programming In Ruby: How To Create Pure Functionsby@santiago-guerra
1,005 reads
1,005 reads

Functional Programming In Ruby: How To Create Pure Functions

by Santiago Guerra2mJuly 14th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Functional Programming In Ruby: How To Create Pure Functions is at the core of this paradigm. Pure functions satisfy two main conditions: they will not cause any side effects. When you create pure functions you should try to make them take care of one thing and only one, so your functions will be very easy to test and scale. The concept of Functional Programming is not only for the Ruby Programming Language, you could use this Programming Paradigm in languages such as JavaScript, Python, Scala, Scala etc.

Company Mentioned

Mention Thumbnail
featured image - Functional Programming In Ruby: How To Create Pure Functions
Santiago Guerra HackerNoon profile picture
Santiago Guerra

Santiago Guerra

@santiago-guerra

Full-stack Developer

Learn More
LEARN MORE ABOUT @SANTIAGO-GUERRA'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Santiago Guerra HackerNoon profile picture
Santiago Guerra@santiago-guerra
Full-stack Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!