Talk:Computer program


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:

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 (http://www.webopedia.com/TERM/P/program.html): 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)

Cleanup

I have listed this article as requiring cleanup, because it is currently pretty vague and rambling. --HappyDog 17:30, 15 Feb 2005 (UTC)

I understand and applaud the author of the existing first paragraph's intent -- but I think the confusion stems from a premature introduction of representational methods -- an important topic, but not for the first para.

I suggest:

A computer program is a set of instructions which, when carried out by a computer, achieve some result. One of the simplest theoretical programs consists of a single instruction that causes the computer to power down. A more typical example might be a series of instructions that direct the computer to calculate and display something on a computer screen in response to an input event like a mouse click.

Go on to describe the concept of subprogram, since "commputer program" in its strictest sense usually refers to some collection therof.

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools