Intro
In this chapter, our mission to learn how to become a developer is getting more complicated. We will learn about the importance of variables, brackets, operators and even talk more deeply about Data Types.
We are moving right along to Coding Basics Part 2. Before starting this, I would suggest that everyone be proficient with the first part of coding basics (a score of 80 or above on that exam would do.) If there's any problem regarding the first part, contact us through the community or directly without hesitation. Even if you feel pretty cocky about the first part and ignored the exam, best take it to ensure that the whole concept is clear. This is important: to make the most out of this course you should at least have some basic knowledge of creating variables and solving simple mathematical equations. So, let's move on to the current topic.
Brackets
In this course, we will learn some important aspects of coding which are really key for any programming language. To start with, we'll discuss brackets. Brackets are used often in code and you can't move further without having basic knowledge of how and when to open and close brackets.
Operators
We will discuss more about brackets in the next video, but here I'd like to introduce you to a new word: operator. Operators are basic symbols in math for addition, subtraction, multiplication etc. These are classified into many types such as logical operators, arithmetic operators etc, and are referred as math operators altogether. We will have a quick view of operators and their use later in this course.
Primitive Variables
The next part is dedicated to dealing with primitive variables. We will define these types of variables as variables which can store only one value (Boolean, integer etc) at a time, unlike objects which store buckets of information. We're not getting deeply into primitives right now because we haven't dug into the other more advanced types of variables yet. We will compare and contrast between the Primitive and Object variables, and by differentiating between these two types, we can easily understand the exact nature of a primitive variable.
You're familiar with both strings and numbers by now. Just for grins, imagine a very weird bucket full of different numbers, a bunch of strings, and several Booleans mixed in just for spice. That bucket is a an object. Reach in and pull out a single number: you're holding a primitive. Now grab a spicy Boolean: you're holding another primitive.
Mixing Strings and Numbers
Finally, we will learn how to mix up everything and create a unified code out of it. it's important to know how to add strings as well. We can add two strings together (concatenate them) to form a single word or sentence as output. It's not just enough to understand the basics of variables and operators: you should also be capable of using them in your program. Therefore, be ready to master your coding basics by completing this course. At the end, as always be ready for the exam and extract the most out of our community support!