WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here.here These slides contain a lot of animations. For optimal results, watch in slideshow mode.
In your project, when should you save the file to the hard disk? a)After each user operation b)Only when the user quits the program c)Periodically, every 5 minutes d)No need to save (wrong answer!) filesave {a|b|c} e.g. filesave b Try this question again. Discuss with your neighbors before answering. Consider costs and benefits of each approach. Give priority to costs/benefits that matter to the user OR tinyurl.com/answerpost
Assume work as advertised No need to know Necessary?
x Can we tell the same story with less details?
Higher level Same level
intention mechanism
How not to do Ice Bucket Challenge
[extra] Junit code sample 11 Java: Javadoc (built-in) C++: Doxygen (3 rd party)
[extra] Junit code sample 14
Good code looks neat.
Good Code
When to stop? Is this the best I can do/be?
Good Code Code monkey Code gorilla
Good Code Code monkey Code gorilla Master craftsman
Good Code
≈ Fire insurance
Revision Control Software Repo
Google App Engine
Ask your questions here. Answer questions here. MUST subscribe.
Ask your questions here. Answer questions here. Well-crafted posts. Ask in advance. Choose from multiple answers.
Learn to leverage the community.
What to do when there are … Too many new concepts Too many new concepts Too much to do Too much to do Too much self-learning Too much self-learning Too much bean counting Too much bean counting Too much reading Too much reading
Why give points to every little CA? We are adults. We should make our own choices!
What to do when there are … Too many new concepts Too many new concepts Too much to do Too much to do Too much self-learning Too much self-learning Too much bean counting Too much bean counting Too much reading Too much reading
What to do when there are … Too many new concepts Too many new concepts Too much to do Too much to do Too much self-learning Too much self-learning Too much bean counting Too much bean counting Too much reading Too much reading
Industry survival tip
CS2103 High diversity! Industry survival tip
High diversity! HEAVY text books
How?
Read smarter Industry survival tip
Where we are… Lecture 3 Theme: From program to product idea. Can refactor code to improve quality. Can use revision control locally, individually.
What is the defining feature of an RCS? a)Show versions graphically b)Can take snapshots of files and store them in a low cost manner c)Can go back to previous versions d)Can compare different versions rcs {a|b|c|d} e.g. rcs c OR tinyurl.com/answerpost