|
|
|
|
Please go to
which is updated version of this homepage.
Information below is out-of-date and remains here only for keeping old links.
SAMPLE Language & Technology:
http://sampletalk.8m.com/.Conclusion about SAMPLE programming technology
CAR DESK METAPHOR
Let us try to compare SAMPLE-programming technology to some other technologies metaphorically. Programming with complex syntax and semantics resembles driving a car without a control desk. You want to turn --- take a spanner and revolve a special bolt. Need to stop --- take another spanner and turn a gas tap (and what about a brake? find a vice, read its manual, and grip the axle). Such actions have almost nothing common with the country map and the journey plan, although can help in slow, slightly dangerous, but sometimes successful motion.
Situation with complex a-priori syntax and semantics is the same: usually they have nothing common with the problem in question, nor with the intuitive plan of the created program, although can help in slow, slightly dangerous as for errors, but sometimes successful programming.
One needs a steer and a speed lever. To some extent, Prolog is such a tool. Unification (read: steer) and performance strategy (read: lever), its basis, have some similarity to features of human thinking (matching of intuitive images and exhaustion of variants for problem solving).
We go further: we create a country map (samples) from the country pictures (text examples) and allow the user to navigate simply by combining these samples and pictures.
Recently, discussing SAMPLE and this "car desk metaphor", I heard an argument (against Prolog and SAMPLE as well): when somebody tried to teach children to program in Prolog and C, he succeed with C but failed with Prolog. So Prolog (and SAMPLE as well) aren't perspective… I agree this is not for kids. But you never trust your car to little kids: it's too powerful…
SAMPLE Language & Technology:
http://www.webspawner.com/users/samplex/
WebSpawner Page Machine |
Back to SAMPLE Language & Programming Technology |
Examples: Natural Language Processing |
Examples: Logics, Regularities |
Misc. programming examples |
Send E-Mail to: gleibman@yahoo.com