A plea for readable pleas for a readable Prolog programming style

  • Authors:
  • Randy M. Kaplan

  • Affiliations:
  • Educational Testing Service, Rosedale Road, Princeton, NJ

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1991
  • PRAM: prolog automatic marker

    ITiCSE '98 Proceedings of the 6th annual conference on the teaching of computing and the 3rd annual conference on Integrating technology into computer science education: Changing the delivery of computer science education

Quantified Score

Hi-index 0.00

Visualization

Abstract

Writing a plea for a readable Prolog programming style is not like writing most pleas. In writing a plea for a readable Prolog programming style in particular, one could possibly bring forth many results. This means that special care must be taken when writing a plea for a readable Prolog programming style. Not only must the plea be readable, it must also be written in such a way as to make clear the process of writing well-styled Prolog programs.Plea writing makes use of a set of rules to specify how a certain task might be accomplished. In general, if these rules are written without attention to their meaning, there is no telling how the style of a particular Prolog program will be affected. It is from this aspect of plea writing both the power and danger of plea writing arise.We will attempt to discuss ways in which pleas for a readable Prolog programming style may be written so that they may be clearly understood and applied to make Prolog programs more readable. We will also give an example of the application of plea writing rules by writing a plea and then applying this plea to excerpts of Prolog code.