I'm writing a bit of open-source propaganda and I need to explain what source code is to a non-technical audience in ten words or less without them losing interest. I've tried things relating to recipes and the like but I'm not an English major so I'm having a really hard time with this. Any ideas?
views:
110answers:
710 words isn't a lot but here's my attempt - it's the instructions that tell the computer what to do.
Recipe cards for making cakes and meal entries in cookbooks are "source code" They provide directions for a cook to follow, to produce the desired result. Source code are directions for the computer to follow, to produce a result.
Compilation is merely a means to make the process efficient, for an idiot (the CPU) to follow. Its as if you took the cookbook entry that says, "add flour" and broke into down into micro instructions: "get cup. use to get 1/2 cup of flour. move cup over pot. pour cup into pot".
The human-readable version of the instructions followed by a computer.
Basically, a computer processes zeros and ones. But it would be too complicated for us to directly talk to a computer with zeros and ones.
So, instead, we talk to it in a language that is both understandable by the machine (so that it can convert our instructions to zeros and ones) and by us (so we are able to produce programs in an efficient and fast way).
It is the text written in that language, before it is converted to zeros and ones, that I would call source code.
The written instructions that programmers use to control the computer.