One thing we've learned about coding is that it can be scarier for grownups than it is for kids. That's understandable—coding is a language, and languages are easier for young people.
Your goal is to learn just enough to be helpful when a young person asks you a question about Bitsbox. This is much more achievable than you might think.
You don't need to know all of the words in the dictionary to write a letter to your friend, and you don't need to know every command in Bitsbox to write a simple app. So here we go, one step at a time...
What is coding, exactly?
Programming is the act of writing a computer program, and computer programs are written in code. Because of this, many people say "coding" instead of "programming", but they mean the same thing. You'll sound cooler if you say "coding".
Coding is the work of writing instructions that a computer can follow. You can't write code in English or any other human languages—computers aren't smart enough to understand those yet. Instead, you write code in dedicated languages that computers can understand.
Once you know one coding language, it's pretty easy to learn another. This is because almost all programming languages use the same concepts. The words are different, but the structure is basically the same.
So coding is just writing instructions, right?
When you're coding, the thing you're creating is a program. A program is a set of instructions that tells a computer or other device what to do. So yes, coding is just writing instructions. But there's a catch.
Sometimes a program is very simple, taking the form of commands that are supposed to be followed in order, from top to bottom, a lot like these driving directions:
- Go straight until Broadway.
- Turn right on Broadway.
- Go straight until you reach the school.
While that's an easy concept to understand, the grim reality is that most instructions aren't linear in that way—most instructions need to be able to react to outside conditions to produce a result that depends on those conditions. More like this:
- Go straight until Broadway.
- If you can, turn right on Broadway and go to Step 5. If you can't, go to Step 3.
- Turn left on Broadway.
- Go straight until you can do a U-turn.
- Go straight until you reach the school.
Ugh. You can see how things can get complicated quickly when you're trying to write thorough instructions—especially for something as dumb as a computer.
What kind of coding does Bitsbox teach?
Bitsbox teaches kids to build simple apps by writing real, text-based computer code. The coding language we use is JavaScript, with the addition of a few dozen special commands (words, basically) that make it easier for newbies to build cool stuff quickly.
JavaScript is a very, very popular programming language which is used by millions of professional software programmers all over the world. Its main use is in programming web pages—just like the one you're reading now.
The apps that kids build with Bitsbox are actually individual web pages written in JavaScript. That's why they work on any computer or mobile device with a web browser. A web browser is the software you use to surf the web. Chrome, Internet Explorer, Firefox, and Safari are all common web browsers.