Presentation is loading. Please wait.

Presentation is loading. Please wait.

AP Computer Science Programming Conventions. Why coding conventions? 80% of the lifetime cost of a piece of software goes to maintenance. Hardly any.

Similar presentations


Presentation on theme: "AP Computer Science Programming Conventions. Why coding conventions? 80% of the lifetime cost of a piece of software goes to maintenance. Hardly any."— Presentation transcript:

1 AP Computer Science Programming Conventions

2

3 Why coding conventions? 80% of the lifetime cost of a piece of software goes to maintenance. Hardly any software is maintained for its whole life by the original author. Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly. If you ship your source code as a product, you need to make sure it is as well packaged and clean as any other product you create.

4 No sloppiness allowed!

5 Project 1 ● Static methods, printlns only ● More syntax practice ● Graded on ○ external correctness -- output looks right ○ internal correctness -- methods capture structure ○ style -- follows coding conventions ● Due next Wednesday 9/30

6 Reminder: late policy ● 6 " free " late days for the year ● -10% per additional day (ouch) ● Can turn in up to 4 days late, after that 0!!

7 Academic integrity ● Do talk about concepts ● Take a break before coding ● Copied code is very easy to spot! ● Never talk in Java ● Never show your assignment code (look at exercises together!)


Download ppt "AP Computer Science Programming Conventions. Why coding conventions? 80% of the lifetime cost of a piece of software goes to maintenance. Hardly any."

Similar presentations


Ads by Google