6
Hungarian Notation A naming convention in which the name of a variable indicates its type Prefixes for variable names –strName, sName –intAge, iAge –lngUserId, lUid –datHireDate, datHire

7
Programming Efficiency Class structure –Careful use of inheritence –Final and other special directives –Methods should do one thing –When to class based on the environment (J2SE v. J2ME) Use error control for exceptions, not for flow control Python forces indentation for control flow

9
Programming Style Focused on productivity Collaboration and complexity Taken for granted (consider auto-formatting IDEs) Code as seen only by technical workers, and only used to produce programmatic output

11
Code and the Program HTML as a possible example The markup and the layout are both viewable to the end user The markup’s “quality” is part of the experience “How did they do that” (e.g., t he single pixel)

17
Project 7 - Write a program in Chef It must compile and run. It need not be the most meaningful program, but it must execute and do something coherent It must read like a coherent recipe. That is, the source code should be as readable as the executable code, and it should make sense as a recipe. If you want an 'A', your recipe must also be coherent enough to be prepared in the real world. This is harder than it sounds. Extra credit (5 points) for anyone who brings in a version of their Chef code for us to eat in class.

About project

Feedback

To ensure the functioning of the site, we use cookies. We share information about your activities on the site with our partners and Google partners: social networks and companies engaged in advertising and web analytics. For more information, see the Privacy Policy and Google Privacy &amp Terms.
Your consent to our cookies if you continue to use this website.