flare

flare

You’ve gone beyond the basics and can build out a decent application!

Concepts you should know

Loops

Loops are a concept in programming that allows you to run some code for a defined number of times. This means if you have an operation you want to run 1000 times, or maybe run some code for every user in a database, or show a menu until someone makes a choice in a game, loops are what you want.

Conditionals

In programming we don’t always want to execute the same code. Sometimes we want to execute code based on something. We might want to check if someone has a premium account before allowing them to access a song, or check if they’re in a certain country etc.

Functions

Functions are a way to reuse code efficiently. It allows you to define a set of steps of code that should be run when the function is “called”, along with a name.

Variables

When working with code you will inevitably want to store some information. To store information we use variables. Variables are basically labels we can use to refer to information more easily.

Data Types

Everything starts with data in programming. If you want to be able to do anything you need to be able to work with data.

Classes

Classes are a programming construct that allows you to organize your code. Essentially you create a class which acts as a kind of template which you can then create instances/objects out of.

Posts