Code is like humor. When you have to explain it, it’s bad.
— Cory House
We’re all different — from different cultures and backgrounds. One can describe a thing completely different for others. If every developer follows the practices he/she feels convenient with then you may even identify the code written by a particular developer (known as the DNA of the code).
But as as we all know, software development is not a single person’s job, there is always a Team effort involved. Thus keeping a defined naming convention is a MUST. Selecting the proper name for a function or…
My goal with this blog post is to leave you with NO excuse for not defining a commit message convention for your team. I’m going to explain the reasons why you should define a git commit message convention, and share detailed instructions to help you move this task from your “to-do” list to “done” in a few simple steps!
A well-organized commit message history leads to more readable messages that are easy to follow when looking through the project history.
Source code is for developers, not for computers. The computer only cares about 1s and 0s. And there’s nearly an infinite number of programs that could produce the same sequence of 1s and 0s. We write source code so that we can understand and reason about our code and our tasks in a meaningful and accurate way
Until ES5, variables were function scoped, i.e. a variable declared inside a function with a
var keyword is visible throughout the scope of the function.
Also this enabled variables to be visible inside functions defined in the same scope.
ES6 specification added two…
How I remember closures in my head is fairly simple — Legacy! I will explain why and how in detail further in this article and by the time you are done reading with this post — you will remember it forever 😄
Change the behaviour and appearance of your app without publishing an app update, at no cost, for unlimited daily active users. This technique is called as Remote Configuration and Firebase with a lot of features also provide Remote Config.
If you’re not familiar with Firebase Remote Config use-cases and how it can help you save weeks/months effort — you may consider reading Exploring Firebase Remote Config.
In this article we will be exploring the most simple yet sophisticated use-case of Firebase Remote Config: Switch for a crisis time — As we all know crisis break out at the least expected…
Awesome piece on React Navigation 5! Especially now that React Navigation 5 doesn't support saving nav state in redux - A better understanding and clean usage is important! Thanks!! I am going to extend this piece using Firebase Remote Config!
How do you communicate with your team about proposed code changes?
One of the most critical roles we play as developers is to clearly communicate with our team. When a change or addition is proposed to a codebase as a developer, I want the team members who review the code to understand what I was trying to achieve with that work. As a code reviewer, I want those who propose code changes to explain their changes and let me know me how to test the code.
Both GitHub or GitLab offer the ability to enable “templates” for proposed code changes…
There are many ways available to do the same task, all we are looking for is — How to do it the right way?
_.result functions at core gets the value at
Do we really understand the difference between the two? Let’s explore them in detail! 👀
get( object, path, [defaultValue] )
Gets the value at path of…