How many lines of code?

Students of the Code.org tutorials have written 1,977,615,367 lines of code. Is this a lot? By comparison, the Microsoft Windows operating system has roughly 50 million lines of code.

Of course, every engineer knows that "lines of code" is a silly measure, and besides, the lines of code we are counting here are much less complex than the code written by professional software engineers. No software engineer measures the value or their work in lines of code. In fact, the best-designed programs often have the simplest designs and the fewest lines of code.

However, we count this as an important measure of total usage of our tutorials. Not everybody finishes an Hour of Code tutorial. Some students spend one hour. Some spend 10 minutes. Some spend days. Instead of counting how many students "finish one hour" or how much time they spent, this is our simplest measure of progress.

Note: this is not counting all participants in the Hour of Code. The Hour of Code movement consists of dozens of tutorial partners, and this metric is only counting usage of the Code.org tutorials , where each block/command dragged onto the screen counts as one line of code.

In total, 40,995,752 students have participated in the Hour of Code. Of this group, 18,357,509 of them used the tutorials by Code.org, and within the Code.org tutorial, they've written 1,977,615,367 lines of code.