02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

The wild while loop

Efficiency is important in some languages while less so in others. When you're running a program in PHP you have only one computer that is serving hundreds of people. Therefore, it’s important that each line of code is as efficient as it can be. Contrary to that, client-side programming languages such as JavaScript don't need to be as efficient. Since you only have one computer running the script at a time. That's why I personally prefer doing what's more comfortable and not necessarily what's more efficient on client-side programming languages.

Note: The for loop isn't as efficient as The while loop. If you are an inefficiency geek, you will want to stick to while loops.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

The loopiest chapter of them all

Our introduction video to the course loops

00:42

Creating dynamic elements

In this chapter all of our artwork will be dynamically added onto the stage. We will be leveraging all the libraries enter tool belt. Let's get started.

04:02

Going in the loop

Loops is a global name for a lot of different types of operations in programming that enable us to trigger the same block of code more than one time.

10:28

Nesting loops to create grids

Nesting loops is probably one of the coolest things you can do with loops.

08:52

The wild while loop

The for loop isn't as efficient as The while loop. In this lesson we will explore the while loop.

05:40

Hang with the other loops

This is it for us this is our last content lecture in this group of courses. I hope to see you in our intermediate animation course.

05:22

Goodbye for now

Goodbye for now

01:17