Braindump: programming vs. scripting
What is the difference between a program and a script? Imagine a scale, at one end is a cake recipe and at the other end is a rich set of objects or functions glued together to perform something cool. Move along the scale a bit from cake recipe until you get to a set of instructions that can be understood by a computer. This is then a script. A set of thing to be done to achieve a result. Simple unit testing is driven by a script. It has repititions and is not refactored or normalised. Of course we can embelish our script with more features of our language, but then it moves along the scale towards the "real" programs. Actually, a script is already a program - just a very simplistic program. The scale is more a sort of scale of language feature implementation. The left side is our script, which could be just a set of calls to other programs. The right side is where we implement everything in the scope of our program. So we can write in a scripting style in C++ and write a program in Perl.











