Mark started in the developer world over 25 years ago. He began his career with a Bachelor of Science in Computer Science from St. Johns University. After spending 10 years on Wall Street working for Goldman Sachs, Lehman Brothers and other major investment banks, Mark became interested in animation and video game software.
Operators Hi. My name is Mark Zamoyta and welcome to this module titled Operators. By operators we mean the simple mathematical operators plus, minus, multiply, divide, that kind of thing, but there are actually many more different types of operators. Let's see what we'll cover in this module. We'll start off by looking at equality operators, comparing if two numbers are equal or unequal. We'll look a unary operators. Those are operators that work on a single value or variable. Logical operators are also sometimes called Boolean operators and they result in a true or false value. Relational operators are things such as greater-than, less-than and so on, but we need to look at how relational operators work with strings. We'll take a look at the conditional operator, which is a shortcut for an if statement, an else clause, and we'll look at assignment operators. These are shortcuts which let us easily modify a variable in a concise syntax. Finally we'll take a look at operator precedence and this is very important. We know that operators such as multiplication come before addition and not knowing that rule is the cause of many bugs. So we'll take a look at the Mozilla developer network where we can find a table of operator precedents that can be used as a reference as we code. So let's get started and look at equality operators.
Classes and Modules Welcome to this course module named Classes and Modules. Classes give us the new syntax in order to create constructor functions. It's more similar to Java and C++ and C# and modules is a way to organize our code. Generally we can break our source code into a set of files and each file will become a module. We'll start of by covering the class basics. How do we create a class? Next we'll look at constructors and properties. We'll see how to add these to a class. We'll look at methods for performing code on a class and we'll look at inheritance. This is a technique where classes inherit from other classes so we don't have to do duplicate code. Next we'll create our first module and a module is a file that can be shared and imported into other modules. And we'll see how to import those modules and work with index. js and organize our code properly. So let's get started and look at how we can create a class.