reven:
yeah but surely that 220 billion lines of code isnt unique, some traffic light systems will be the same code, same with shipping etc. i doubt its all unique
I just see it as a bit different - copies in caches\proxies\etc versus explicity reusing lines of code from one progam to another.
I was also curious how many lines of Javascript might be out there... one interesting read is the following from 2008, which just gives you an idea of the scale of the web:
http://googleblog.blogspot.co.nz/2008/07/we-knew-web-was-big.html
1 trillion web pages in 2008 (and that included some method of discarding duplicates) if even a fraction of them include javascript... well I'm guessing there're a lot of lines of Javascript out there.
Ulimately though, LoC is a fairly meaningless metric and this is drifting way off topic so I'll leave it there :)