32
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Coding Guidelines for Prolog

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          Coding standards and good practices are fundamental to a disciplined approach to software projects, whatever programming languages they employ. Prolog programming can benefit from such an approach, perhaps more than programming in other languages. Despite this, no widely accepted standards and practices seem to have emerged up to now. The present paper is a first step towards filling this void: it provides immediate guidelines for code layout, naming conventions, documentation, proper use of Prolog features, program development, debugging and testing. Presented with each guideline is its rationale and, where sensible options exist, illustrations of the relative pros and cons for each alternative. A coding standard should always be selected on a per-project basis, based on a host of issues pertinent to any given programming project; for this reason the paper goes beyond the mere provision of normative guidelines by discussing key factors and important criteria that should be taken into account when deciding on a fully-fledged coding standard for the project.

          Related collections

          Most cited references4

          • Record: found
          • Abstract: not found
          • Article: not found

          Quicksort

          C. Hoare (1962)
            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            A polymorphic type system for prolog

              Bookmark
              • Record: found
              • Abstract: not found
              • Book Chapter: not found

              Logical Loops

                Bookmark

                Author and article information

                Journal
                15 November 2009
                2011-05-17
                Article
                0911.2899
                32b26f75-8f53-444b-8d43-0d727941ca40

                http://arxiv.org/licenses/nonexclusive-distrib/1.0/

                History
                Custom metadata
                39 pages, 4 figures, 2 tables
                cs.PL

                Comments

                Comment on this article