Learn Functional Progamming Design from Redux
Aug 04, 2020 — 9 min read. by Yanze DaiBefore I set my eyes on the Redux source code, I naively thought OOP is superior than FP(Functional Programming) as a programming paradigm. But this is not right.
My developer journey started from 2015. And I’ve been working as a software engineer since then. Throughout these years of technology studying and exploring, I discovered myself a passion in sharing technologies and knowledges to inspire the readers.
Check out the lastest posts
Before I set my eyes on the Redux source code, I naively thought OOP is superior than FP(Functional Programming) as a programming paradigm. But this is not right.
Do you know that JSON.stringify can actually take 2 other parameters? I didn't know this before I laid my eyes on my colleage's pull request.(I'm such a noob) But it's nothing difficult. Those 2 parameters will help optimize the result in a good format.
ES2020 has been out for a while. I guess a lot of Node developers have already adopted these features. Some even started using them when these features were still under proposal stages.
I recently met a small issue on creating a new randomly ordered array based on an old one. To speak shortly, the final goal is to get a shuffled array.
Now Vue.js has become a hot framework for front end development. There are a lot of engineers utilizing the convenience and powerful features of Vue.js. Yet, some of the solutions we've done might not follow the best practice. Well, let's take a look at those must-know Vue techniques.
This article suggests using more CSS and less JS to construct the web UI. To realize this target, it's preferrable to get farmiliar with as many as possible of CSS features.
The helper app is going to listen to your voice and turn it into plain text. After all that it will open up a new tab page of Google Search with the text recorded.
From the mouth of Ward Cunningham, he first used the technical complexity ratio as a liability, referred to as technical debt (technical debt).
Recently, I started drilling down to the bottom of those tools and frameworks' source code in order to enlighten me on software/system design... react router link | react router redirect | react router switch
In this article, I'll show you how to handle Javascript key value data type with its special Array.
This article is going to uncover the usage of Javascript in operator. in operator is one of the keywords in Javascript. We use it very often in loops or if conditions
This article will help you fully understand the javascript this object. With some "pain-in-the-ass" examples, I'll show you how to turn this from a "headache" into a real helper.