CISC108 Lecture Notes - Lecture 3: Semicolon, Complex Instruction Set Computing

30 views2 pages

Document Summary

In addition to basic structure of the design recipes, there are a number of small details that matter when designing programs. These rules, or style conventions, are common through the world of software development. Different communities have their own conventions, so what"s considered proper for one language is not proper for another. Sometimes, even within a programming language, one group of users will use different conventions than another. We have our own set of style conventions which we ask you to follow: Notation and naming conventions: comments that are a permanent part of the program should have two semi-colons followed by a space, these always go at the beginning of the line, these include signatures, purpose statements, etc, e. g. Worldstate rather than world-state, world_state or worldstate: function names and parameter names should be hyphenated and not capitalized, eg. posn-x or tock-ball, constant names should be hyphenated like function names, but should be in all-caps, eg.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents