Day 1 Lesson Plan
First Day Stuff
20 mins
Activity 1: Refresher on objects
50 mins
Reading before next class:
- Clean code chapter 2: names
- Can skip the “avoid encodings” section.
- List 5 useful advices about naming that you learned from this section.
- What is the most important thing the name we choose for an object, class or method should do?
- Identify problems with the following names:
d
numbersList
phoneString
getAccount()
and getAccountInfo()
- What is the book’s recommendation about “overloaded constructors”?
Homework 1
- On your own: Watch Clean Code-Remake (54m)
- Answer following questions:
- What is the main drawback of “messy code that works”?
- What happens when new members are added to the team?
- Why are “big redesign projects” not very likely to succeed?
- Define what each of the following signs of code rot means:
- rigidity
- fragility
- inseparability
- opacity
- Explain the phrase “the only way to go fast is to go clean”.
- What are some characteristics of “clean code”?
- What is the boyscout rule?
Paired Homework 1
- Work with a partner.
- Code palindrome example in IntelliJ
- The goal of this assignment is to become accustomed to IntelliJ and how it works. Pay attention to the different parts of the IntelliJ screen and messages and visual cues it provides.
- List 5 interesting facts you learned from this session or questions that you now have about IntelliJ.