Its said that we humans are becoming slaves to machines, being addicted to them. Partly, it is correct. In my opinion, it is the other way around, machines are our slaves. They only do what we make them do. But sometimes, they malfunction, i.e, they go haywire, acting in a manner we don’t desire.
“My phone is not functioning correctly”. Easy to understand. Function means a task. Whenever your phone doesn’t perform it right, we call it malfunctioning.
But, what actually is wrong in the machine is either hardware or software. Lets talk about the software part of the machines.
Consider the following code
var name = prompt('What is your name?');
var greet = 'Good Morning, ' + name;
console.log(greet);/* the above code snippet asks the user for the name, and greets Good Morning.*/
This code is a straight line flow control. The next line of code is executed…
As I had discussed in the previous post, a program uses values stored in the system to work on. Such values are called variables.
Binding means to create and hold values, also called variables.
var name = 'Dash';
We did the same with the age, but this time saving a number datatype in it. *//* Now, we have 2 variables to operate on. */
Binding names- If you look closely above, you would…
Anything in your computer is data, let it be an image of you in Disneyland, a game or a document. All the data is stored in bits(small fragments of data), consisting of zeroes and ones.
If the life of us coders was a movie, the most common scene would be us banging our hands on the desk.
Why? You ask. Bugs, I answer. What is a Bug? Yes, it is a small insect that you know about, constantly being an integral part in our ecosystem. But no, I am talking about bugs in programming, which get in our way of making awesome websites and apps.
Bugs are the errors, as simple as that. These are faults in code that breaks the code, and you don’t get your desired output. …
Since the past few days, I have been quite active on TeamTanay Discord, a super awesome community of web developers, trying to help anyone and everyone in any manner I can, interacting with my fellow coders and learning loads of new stuff.
I’ve been coding for 8 months now, and I found out a pattern of problems that most newbies are falling for, in the community, I fell for them too. Here’s a brief of some common problems that beginners face.
Calm down, my friend! We have all been there. Making typos and fussing over being an idiot in programming…