Forum newsfeeds
Forum Newsfeeds


Sites for Teachers

Sites for Teachers


Go Back   UsingEnglish.com ESL Forum > Learning English > Ask a Teacher

Notices

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-Oct-2003, 08:35
ExK
Guest
 
Posts: n/a
Default two *what* of source code ?

hello teachers,

I hope that you can fill in the blank for me:


"His company accidentally leaked two ____ of source code to its client"


what words are appropriate?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-Oct-2003, 13:52
Casiopea's Avatar
VIP Member
 
Join Date: Sep 2003
Country: Canada
Posts: 12,997
Current Location: China
First Language: English
Member Type: Other
Thanks: 0
Thanked 54 Times in 53 Posts
Casiopea will become famous soon enough
Default Re: two *what* of source code ?

Quote:
Originally Posted by ExK
hello teachers,

I hope that you can fill in the blank for me:


"His company accidentally leaked two ____ of source code to its client"


what words are appropriate?
"...two lines of source code to its client."

Source code come in arrays, which are sometimes called lines.
Reply With Quote
  #3 (permalink)  
Old 10-Oct-2003, 23:42
ExK
Guest
 
Posts: n/a
Default Re: two *what* of source code ?

hello casiopea,

the source code referred to is a collection of files with thousands of lines of algorithms in each file, so 'lines' would not be appropriate.

I also sometimes wonder whether source code has a plural form (i.e. source codes)

please enlighten, thanks :)
Reply With Quote
  #4 (permalink)  
Old 11-Oct-2003, 03:57
Senior Member
 
Join Date: Apr 2003
Country: Dalian, China
Posts: 519
Member Type: Student or Learner
Thanks: 0
Thanked 0 Times in 0 Posts
shane is an unknown quantity at this point
Default

Maybe this could help to avoid any confusion:

"On two occasions, his company accidentally leaked source code to its client."

:)
Reply With Quote
  #5 (permalink)  
Old 11-Oct-2003, 04:03
Casiopea's Avatar
VIP Member
 
Join Date: Sep 2003
Country: Canada
Posts: 12,997
Current Location: China
First Language: English
Member Type: Other
Thanks: 0
Thanked 54 Times in 53 Posts
Casiopea will become famous soon enough
Default Re: two *what* of source code ?

Quote:
Originally Posted by ExK
hello casiopea,

the source code referred to is a collection of files with thousands of lines of algorithms in each file, so 'lines' would not be appropriate.

I also sometimes wonder whether source code has a plural form (i.e. source codes)

please enlighten, thanks :)
Oh Hehe. :D Lines definitely wouldn't be correct. :D

I dunno how bright I can shine on this one. :(

'files' appears to be the obvious choice. Mind you, I've heard of the term modules in reference to files within the source code file.

Here's something I found on Whatis.com:

Quote:
Source code refers to a version of a computer program that is compiled before it is ready to run in a computer. The source code consists of the programming statements that are created by a programmer with a text editor and then saved in a file. For example, a programmer using the language types in a desired sequence of C language statements using a text editor and then saves them as a named file. This file is said to contain the source code. It is now ready to be compiled with a C compiler and the resulting output, the compiled file, is often referred to as object code. The object code file contains a sequence of instructions that the processor can understand but that is difficult for a human to read or modify. For this reason and because even debugged programs often need some later enhancement, the source code is the most permanent form of the program. (Whatis.com)


As for whether the term source code is singular or plural, I believe it's plural. Programming statments are written in code. These codes form a main Source Code. Once compiled the Source Code becomes the Object Code.

All the best,

Cas
Reply With Quote
  #6 (permalink)  
Old 11-Oct-2003, 04:08
Casiopea's Avatar
VIP Member
 
Join Date: Sep 2003
Country: Canada
Posts: 12,997
Current Location: China
First Language: English
Member Type: Other
Thanks: 0
Thanked 54 Times in 53 Posts
Casiopea will become famous soon enough
Default

I love your photos, Shane!
Reply With Quote
  #7 (permalink)  
Old 11-Oct-2003, 05:10
ExK
Guest
 
Posts: n/a
Default

thanks shane, but your modification would change the meaning of the sentence completely haha 'giving two things' is very different from 'giving the same thing on two occasions' :D


thanks casio, so it's one file of source code, two files of source code? it sounds a bit strange, but then again, english isn't my strong suit :D

thank you all for your attention !
Reply With Quote
  #8 (permalink)  
Old 11-Oct-2003, 08:50
Senior Member
 
Join Date: Apr 2003
Country: Dalian, China
Posts: 519
Member Type: Student or Learner
Thanks: 0
Thanked 0 Times in 0 Posts
shane is an unknown quantity at this point
Default

Quote:
Originally Posted by Casiopea
I love your photos, Shane!
Ithangyou :wink:
Reply With Quote
  #9 (permalink)  
Old 11-Oct-2003, 08:52
Senior Member
 
Join Date: Apr 2003
Country: Dalian, China
Posts: 519
Member Type: Student or Learner
Thanks: 0
Thanked 0 Times in 0 Posts
shane is an unknown quantity at this point
Default

Quote:
Originally Posted by ExK
thanks shane, but your modification would change the meaning of the sentence completely haha 'giving two things' is very different from 'giving the same thing on two occasions' :D
Having looked at it again just now, I can see that I screwed up rather royally. The egg is on my face now!
Reply With Quote
  #10 (permalink)  
Old 11-Oct-2003, 19:25
Casiopea's Avatar
VIP Member
 
Join Date: Sep 2003
Country: Canada
Posts: 12,997
Current Location: China
First Language: English
Member Type: Other
Thanks: 0
Thanked 54 Times in 53 Posts
Casiopea will become famous soon enough
Default

By the by, MicroSoft has a help desk, online. I don't have the address at hand at the mo', but if you type in MicroSoft in your search engine, you'll come across their help desk. They've answered some pretty strange and off topic questions for me in the past, so I believe they'll probably help you out with 'source code'. If so, lemme know, ok?

All the best,

Cas
Reply With Quote
Reply

Bookmarks

Tags
two, source, code

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


New To Site? Need Help?

All times are GMT. The time now is 01:57.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright © 2002 - 2008 UsingEnglish.com