Hindley-Milner in JavaScript
A fundamental part of programming is how we document the code we write. Today we will look at a way to document functions in JavaScript.
7 posts tagged
A fundamental part of programming is how we document the code we write. Today we will look at a way to document functions in JavaScript.
To build applications that solve complex problems, we need to break them down into small problems we can solve and implement, then compose those solutions together.
One of the most important characteristics of functional languages is that their data structures are immutable, which has been shown to reduce software complexity.
One of the most useful programming principles is KISS (Keep It Simple, Stupid), but keeping things simple is not always easy. So today we will look at how to create functions that follow this philosophy.
One of the principles every programmer tries to follow is DRY (Don't Repeat Yourself). With currying, we'll see how applying this to our functions is pretty simple and useful.
Today I wanted to write about a really interesting topic that plays a huge role in modern computing. Understanding a bit about it will be a great help when it comes to grasping some advanced JavaScript concepts.
I am especially excited about this topic because it took me a while to understand the concept, since I came from other programming languages where it was not common. So if I can help you understand it, that would be awesome.