Ptolemy Coding Style

Abstract

Collaborative software projects benefit when participants read code created by other participants. The objective of a coding style is to reduce the fatigue induced by unimportant formatting differences and differences in naming conventions. Although individual programmers will undoubtedly have preferences and habits that differ from the recommendations here, the benefits that flow from following these recommendations far outweigh the inconveniences. Published papers in journals are subject to sim lar stylistic and layout constraints, so such constraints are not new to the academic community. This document describes the coding style used in Ptolemy II, a package with 550K lines of Java and 160 contributing programmers that has been under development since 1996.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Sep 05, 2014
Accession Number
ADA624393

Entities

People

  • Christopher Brooks
  • Edward A. Lee

Organizations

  • University of California, Berkeley

Tags

Communities of Interest

  • Cyber
  • Engineered Resilient Systems
  • Ground and Sea Platforms
  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • California
  • Communities
  • Computer Programming
  • Computer Programs
  • Computer Science
  • Copyrights
  • Cyber-Physical Systems
  • Demonstrations
  • Directories
  • Electrical Engineering
  • Engineering
  • Environment
  • Hard Copy
  • Law
  • Lepidoptera
  • Shell Scripts
  • Software Development

Readers

  • Brain and Cognitive Science; Experimental Psychology; Cognitive Neuroscience
  • Computer Science.
  • Educational Psychology