Included in the course
16 lessons (video or text)
20 exercises in the IDE
Assistance in Discussions on the website
What actually are computers? Do they speak programming languages? Is it hard to write your own programs? The answer to these, and many other questions, can be found in this course. We'll explore the nature of computers and code, and some fascinating ideas that allowed us to create modern computers, mobile phones, the internet and, you know, pretty much everything we rely on every day.
What is a computer anyway?We'll ask and try to answer some simple but important questions: What is a computer anyway? Is it smart? Do computers speak programming languages?
Human and computer languagesLet's explore the idea of programming languages themselves and figure out what language should you start with.
Making functions — black boxesLearn about functions — the building blocks of programs, and how to create and run functions.
IF conditions and programs that make decisionsLearn about conditions and boolean algebra, the mechanism that allows programs to do one thing or another based on information given to them.
Oh, no, errors! (And how to deal with them)Understand how errors arise in computer programs, how to recognize them, and how to fix them.
Recursion: when a function calls itselfWrap your head around one very powerful and extremely important concept in programming — recursion.
The iterative process and how to not be lazyRecursion is great, but the basic recursion process isn't especially efficient. Learn about an alternative way to compute recursively.
Variables and repetitionsLearn about variables and a way of repeating code with loops. Understand the important distinction between declarative and imperative programming.
Mutators and for loopLearn some arithmetic shortcuts to quickly change the values of variables, and get to know the for loop — another way to create repeating code.
Dividing code into modulesLearn about dividing code into meaningful and reusable modules.
Environment, scope, and closuresUnderstand how and why isolated environments are created in JS, what scoping is, and just how cool are closures?
Pure functions and side effectsExplore the idea of determinism, side effects, and purity in functions. Get to know the beauty of pure functions.
Additional resourcesSome materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic
We recommend working on these challenges after completing the course. They'll help you obtain more experience in programming and strengthen your new skills.
Robert Kuznetsov 19 September 2020
Thank you for the lesson and the course! :)
Khristina Rustanovich 21 January 2017
It's awesome. Thank you!