Talk:Computer program/Archive 1

message: ----
Conforming to Wikipedia:Guide to Layout, 
: first paragraph should be short and to the point, with a clear explanation of what the subject of the page is.'''
See to current fist definition pagraph:
----
A computer program (often simply called a program) is an artifact that describes computations, and possibly actions that are to be carried out based on the results of those computations. A computer program can be manifested in several forms: 
* It can be written down on paper, like a cooking recipe. 
* It can be used to guide the fabrication of a piece of computer hardware. 
* It can be realized as computer software, i.e. data stored in the memory of a computer. 
The last of these usages is the one most strongly associated with the term "computer program", and in fact the term "program" is often used as a synonym for "software".  When manifested in the appropriate hardware or software, a program becomes directly executable; that is, the program's embodiment can compute and act autonomously, without human intervention.
----
It is not short.
Contains a lot of out of topic text.
Explanation are not clear. What does mean "and possibly actions that are to be carried out based on the results of those computations"? IMHO, I see in the paragraph usefull for definition only phrase "A computer program describes computations". All other text better to move to one of other paragraph.
It is not complete. I propose, first paragraph after definition should associate program with Instruction, Algorithm. It should to mention goals of running program (Data processing, Data). It much more important than cooking, fabrication.
Please compare with one of professional copyrited trusable definition, from webopedia: Program is "An organized list of instructions that, when executed, causes the computer to behave in a predetermined manner.". IMHO, I like this definition. Of cource, it could be some improved.
----
I don't know why we should trust the Webopedia definition.  Wikipedia seeks to be better than Webopedia.  What are the qualifications of Webopedia's editors?  They don't say.  I suspect if you got any half-dozen Ph.D.s in computer science into a room, they would not come up with Webopedia's definition of "program".  For example, a computer program written in a purely functional language like Haskell cannot, in any respect, be said to contain an "organized list of instructions".  A functional program describes a computable function, which has nothing to do with an organized list of instructions.  And what about constraint programming, or logic programming, or any of the plethora of declarative programming paradigms?  Do you seriously think a Prolog program can be described as a "list of instructions"?  Webopedia's definition is silly on the merits.  I don't trust Webopedia and frankly appealing to its authority only lowers your credibility in my eyes.
I have inserted a paragraph break in the first paragraph.  It's short now.  If you want to move some mention of algorithm to the first paragraph, then go ahead.  Don't muck up the definition by saying a program is a "list of instructions" though.
BTW, the reference to cooking is not trivial --- the "program as recipe" metaphor is a good one that helps laypeople understand intuitively what a program is.  In fact, for a general-interest encyclopedia I think it's more important to give laypeople such intuition in the first paragraph than it is to mention the term algorithm, which is a technical term that is mostly of interest to computer scientists.  k.lee 00:54, 11 May 2004 (UTC)

message: I have listed this article as requiring cleanup, because it is currently pretty vague and rambling. --HappyDog 17:30, 15 Feb 2005 (UTC)
replies: text: I must heavily agree the article is in sad state, is biased, does comprise of a broad enough subject matter to include all the aspects of a computer program. No relevant sources.--Kim Nevelsteen 19:08, 20 August 2005 (UTC)

text: I don't consider that the simplest program. From who point of view? Definetely not a programmers. And from the perspecitive of machine language, it isn't either. More concise would be better.--Kim Nevelsteen 17:06, 20 August 2005 (UTC)
replies: text: Agree. There was once a zero-byte entry in IOCCC, that did nothing. It was also a computer program. A rather silly one, sure, but a program. TERdON 22:38, 21 August 2005 (UTC)
thread_title:  Cleanup 

message: Sorry, I think the section about Neural Networks is rubbish for this article. Neural Nets have to be programmed as well. The section about Neural Nets should be removed entirely or reduced to a one liner with a reference to that article. IMHO --Kim Nevelsteen 17:14, 20 August 2005 (UTC)
thread_title:  Neural Networks 

message: Peanut butter and jelly sandich is a tribute to my school grade teacher who taught me just how difficult it is to convey to another person exactly how to make a peanut butter and jelly sandwich. "Do you use your fingers to scope the peanut butter or a knife? Did you forget to mention to remove the lid? etc..." --Kim Nevelsteen 22:08, 21 August 2005 (UTC)
thread_title:  Peanut and Jelly sandwich  

message: Under "Program Execution", a program is said to be "loaded..., interpreted and then executed...". Interpreted? If you consider that the hardware interprets the machine code, well, fair enough, but then what's execution of not exactly that? I vote for removing ", interpreted", but perhaps this needs more work than just that. --Mike Van Emmerik 01:13, 3 October 2005 (UTC)
replies: text: Interpreted refers to parsed, analysed. It's textbook. --None-of-the-Above 23:52, 5 November 2005 (UTC)
thread_title:  Interpreted ''and'' executed? 

message: Restricting a program to be those bits that are loaded into memory is too restrictive.  Is a Java program then not a program?  (since Java bits are interpreted by a program that is loaded in memory).
:Those Java bits are loaded into memory as well. Be it by the virtual machine or directly by the operating system running the JIT code. --None-of-the-Above 23:57, 5 November 2005 (UTC)
replies: text: What do you mean by that? SR - RE 19:29, 22 December 2005 (UTC)
replies: text: A "program" is an abstract concept.  Consider a simple program that outputs the numbers 1 to 10, written down on a napkin.  Is that not a program?  Of course it is.  A program may be represented in human-readable "source code", for example, or it maybe represented in "binary bits" that are interpreted by hardware or software.  But to equate program with one particular type of representation is confusing the term "program" with "executable binary program".  That's what I mean by that. --Serge 23:20, 22 December 2005 (UTC)
thread_title:  Definition of program is too restrictive 

message: According to my knowledge, the British also use the program spelling for the computer-related sense. Am I right? - 81.182.81.36 12:10, 16 September 2006 (UTC)
replies: text: I've always thought so. I'm from the UK, and I can't remember reading anything that referred to "computer programmes", even though that's the spelling used for every other use of the word. --Nick RTalk 12:19, 24 September 2006 (UTC)
replies: text:  Yes - In the UK, we use 'program' for a computer program and 'programme' for most other uses, e.g. a concert programme. --HappyDog 01:14, 13 November 2006 (UTC)
thread_title:  Programme 

message: I looked at the diff and saw that there were repeated occurences of the use of a signature on the actual article. I reverted. Then when I looked at what I reverted, there was litteraly NO change in the diff. I'm very confused, so feel free to correct me if I have messed something up. GofG |||  Contribs 15:08, 12 November 2006 (UTC)
replies: text: Your diff looks good to me. Dicklyon 16:26, 12 November 2006 (UTC)
thread_title:  Reverted Vandalism, but... 

message: I notice that there has been a little flurry of activity on the first couple of paragraphs since my edit last night.  In general, they are an improvement (I think), however I'm sorry to see that my initial sentence has been lost.  It was "A computer program is a collection of instructions that describe a task (or set of tasks) to be carried out by a computer.".  I think (and this is true of all articles) that it is important to have a simple jargon-free sentence to start the article, so that someone completely unfamiliar with the subject can get a basic definition that they can understand.  Anyone object to my restoring this sentence before the more detailed explanation that is already there? --HappyDog 15:52, 13 November 2006 (UTC)
replies: text: I agree.  And technical details like whether the programming language is declarative or imperative or functional or something else certainly do not belong anywhere near the lead.  I reverted the restoring of that "junk" that came in with a misrepresented edit summary. Feel free to improve the lead, leaving the tech jargon out. Dicklyon 16:18, 13 November 2006 (UTC)

text: You agree, but you keep putting it back in?  What's that about?  I had already toned down to commonwealth thing to "sometimes" but I'm fine with taking it out, since several Brits have told us they spell it as "program". Dicklyon 18:41, 13 November 2006 (UTC)
replies: text:  By 'agree' I meant I agree with use of the technical terms in the first sentence.  The definition is now more or less technically correct.  I guess it could be reworded in terms of programs that specify the what and programs that specify constraint on the set of possible answers.  There probably are some people who use the spelling programme, but putting this information in the first sentence overplays its importance.  Derek farn 19:21, 13 November 2006 (UTC)
replies: text: I'm not sure what you're saying, but I've taken another stab at it.  Took out some junk again, and put the imperative/declarative bit in there, but not in the first sentence. Dicklyon 06:56, 14 November 2006 (UTC)

text: That is so much better.  Well done everybody! --HappyDog 04:15, 16 November 2006 (UTC)
thread_title:  First Paragraphs 

message: Computers run software.  Software refers to computer programs and only to computer programs.  So a software program is a program program, i.e. internally redundant.  You can call it software.  You can call it a computer program or them computer programs.  But you shouldn't call it a software program.--151.200.244.58 02:51, 7 December 2006 (UTC)
replies: text: Over a million web pages and tens of thousands of book pages disagree that they're never called "software programs". Dicklyon 03:46, 7 December 2006 (UTC)
thread_title:  Let's Dump the Term Software Program 

message: There is a grammatical problem in the third paragraph, but I don't know enough about the subject to fix it.  Here is the sentence:
 another form of computer program lists the characteristics 
 of the required data and leaves algorithm selection to the 
 computer (usually another program running on the computer) 
 to deduce the output, if any.
If you remove the parentheses, you get:
 another form of computer program lists the characteristics 
 of the required data and leaves algorithm selection to the 
 computer to deduce the output, if any.
The problem is in "leaves algorithm selection to the computer to deduce the output, if any" - I'm not sure what this is trying to say, but the way it says it is clearly incorrect.  Can someone please fix.  --HappyDog 14:08, 9 December 2006 (UTC)
replies: text: Yeah - I removed it once as well.  I wonder if the person (people?) who keep reinstating it can perhaps explain what it means? --HappyDog 08:02, 10 December 2006 (UTC)
thread_title:  Grammatical issue