In the web and apps development world, new developers some time feel alienated and discouraged when talking about more advanced topics. One of the reasons because it makes them feel like they’re reading a foreign novel. The alphabets might look familiar, but none of it makes any sense.
And it’s hard to make sense of everything, especially if you have to keep stopping every second word to figure out what the sentence is trying to tell you.
For this article, our Melbourne web developers decided to list down the top 4 concepts that they often explain to interns or new developers.
We will use this mathematical equation as an example,
(3 x 2) + 8 – 3 = 11
So if you move the order around, you’re still going to get the same result.
– 3 + (3 x 2) + 8 = 11
8 – 3 + (3 x 2) = 11
immutability, mutation, mutable
Strong immutability can be understood when nothing about the object changes. While weak immutability is when the shape of your data doesn’t change.
You know that an object has strong immutability when it goes into a function and out of it in the exact same form. As for weak immutability objects, the names, number of keys and order do not change but the data attached to it might.
Recursion consists of two parts, he call based on a particular condition, and the exit clause. Your exit clause is basically what happens at the end of your recursion.
The keyword async also returns an implicit promise. It means it returns a promise by default.
Promise is the thing that orders your code to stop and wait because there’s going to be a delay in getting something done. For example, you’re waiting for an external API to respond with the correct data.