Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does 'semicolon' mean as a unit of size

On the Io home page it mentions its small size, but it uses a unit of measure I've not seen before:

small vm (~10K semicolons)

Is this just the size in characters (~bytes), or is there something more subtle going on here?

like image 867
FinnNk Avatar asked Oct 04 '10 08:10

FinnNk


1 Answers

It's a measure of Logical lines of code.

Rather than simply counting all lines of code, including comments, blank lines, etc., you only measure the lines that end in a semicolon. It's a still-simple but more accurate measure of how large a piece of code is.

like image 141
RichieHindle Avatar answered Sep 22 '22 08:09

RichieHindle