Basic programming vocab for designers

As a designer, its not expected that you have a extensive and complete knowledge of programming but having a fundamental understanding of programming is helpful and even essential for those in web design. Here are some of the concepts that you will find in almost all programming languages.

Variables

Variables are used to store data and set values. Variables typically have an identifying name and value. (such as x = 3) This is similar to the concept of variables in math.

Arrays

Similar in concept to variables, arrays can hold many variables under a single name.

Syntax

The syntax of a programming language is the set of rules that govern the structure. Think of the syntax as the words and grammar of the language itself.

Conditional Statements

Conditional statements (sometimes called conditionals) are used to make decisions based on certain conditions. For example a conditional can allow JavaScript to perform an action if a variable is greater than or equal to “3”.

Loops

Loops repeat a defined set of code over and over. They are usually paired with conditions to ensure they don’t loop forever.

Functions

A function is a block of code that does something. For example, the prompt function displays a dialog box asking for user input.

A great way to learn some of these concepts is through Code Combat, which is controlled through writing simple code.

Visit CODE COMBAT to have fun learning basic code.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s