Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
sidefx
3775 posts

Uber Geek
+1 received by user: 1295

Trusted

  #618854 3-May-2012 13:20
Send private message

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 :)




"I was born not knowing and have had only a little time to change that here and there."         | Octopus Energy | Sharesies
              - Richard Feynman




rvangelder
352 posts

Ultimate Geek


  #619292 4-May-2012 09:20
Send private message

freitasm: There are still more lines of Cobol code around the world than anything else.


I'd be willing to bet there are more lines of VBA (behind Word and Excel documents) than anything else.

raytaylor

4076 posts

Uber Geek
+1 received by user: 1296

Trusted

  #619444 4-May-2012 12:31
Send private message

This makes me think,

How much is there in the way of

10 input $name
20 echo "hello $name"
30 goto 10




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here




freitasm
BDFL - Memuneh
80653 posts

Uber Geek
+1 received by user: 41045

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #619511 4-May-2012 13:53
Send private message

raytaylor: This makes me think,

How much is there in the way of

10 input $name
20 echo "hello $name"
30 goto 10


10 input name$
20 print "hello "; name$
30 goto 10

There, fixed it for you.




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Mark
1653 posts

Uber Geek
+1 received by user: 555


  #619746 4-May-2012 19:00
Send private message

freitasm:
raytaylor: This makes me think,

How much is there in the way of

10 input $name
20 echo "hello $name"
30 goto 10


10 input name$
20 print "hello "; name$
30 goto 10

There, fixed it for you.


GOTO ?  GOTO?!?!???


Go shoot yourself now for such sloppy code!   ;-)

GOTO was an insta-fail when I were a lad!

raytaylor

4076 posts

Uber Geek
+1 received by user: 1296

Trusted

  #619752 4-May-2012 19:07
Send private message

Hey
Goto was one of the commands i had to learn in the BASIC manual that came with my Atari 400

And then i discovered GOSUB. Boy that was a fun day.




Ray Taylor

There is no place like localhost

Spreadsheet for Comparing Electricity Plans Here


 
 
 
 

Shop now for Dell laptops and other devices (affiliate link).
Regs
4066 posts

Uber Geek
+1 received by user: 206

Trusted
Snowflake

  #619830 4-May-2012 21:30
Send private message

freitasm: There are still more lines of Cobol code around the world than anything else.


that's because it takes 20,000 lines of code in Cobol do perform "Hello World"




1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.