Member-only story
Functional Programming : Exceptional Coding Style that Keeps Bugs Away
A story that navigates the art of functional programming beyond its basics
When you hear about “Functional Programming”, what rings in your mind? A slew of functions, isn’t it? Rightfully so. It’s a paradigm that many developers, knowingly or unknowingly, are often using. It’s a treasure hidden in plain sight, where we structure our code and revel in the immortality of a beautiful, pure, yet somewhat daunting realm.
Programming paradigm tree
Understanding the concept of programming paradigms begins with the Paradigm Tree. It’s a special tree that articulates how different programming languages branch into distinct families. Trail the two longest branches, and you’ll meet “Imperative” and “Declarative.”
- Imperative programming aligns with the idea of explicitly defined algorithms or how the code unravels. The focus is on detailing the steps the program must take to accomplish an action.
- Declarative programming, on the other hand, embodies the narratives of our goals, the what. It articulates…