Forum newsfeeds |  | | Notices | You are welcome to answer questions posted in the Ask a Teacher forum as long as your suggestions, help, and advice reflect a good understanding of the English language. If you are not a teacher, you will need to state that clearly at the top of your post. Please note, all posts are moderated by our in-house language experts, so make sure your suggestions, help, and advice house the kind of information an international language teacher would offer. If not, and your posts do not contribute to the topic in a positive way, they will be subject to deletion. | 
10-Oct-2003, 08:35
| | | 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? | 
10-Oct-2003, 13:52
|  | 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
| | 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. | 
10-Oct-2003, 23:42
| | | 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 :) | 
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
| | Maybe this could help to avoid any confusion:
"On two occasions, his company accidentally leaked source code to its client."  :) | 
11-Oct-2003, 04:03
|  | 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
| | 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 | 
11-Oct-2003, 04:08
|  | 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
| | I love your photos, Shane! | 
11-Oct-2003, 05:10
| | | 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 ! | 
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
| | Quote: |
Originally Posted by Casiopea I love your photos, Shane!  | Ithangyou :wink: | 
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
| | 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! | 
11-Oct-2003, 19:25
|  | 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
| | 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 | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT. The time now is 01:57. |  |