3. What’s the
big deal?
Readable = Fun
Code is Hard to Read
Time is Money
We can get time back to do all the
things we love.
Code reviews, fixing bugs, adding
new features all require reading.
Easy to read code is fun to work
with and who doesn’t want fun?
11. State of
Affairs
We get Acclimated
It works! Done 😌
Fast, Faster…
We are under constant pressure to
deliver fast.
Difference between problem solving
and building production code.
After years and years we get used
to things and don’t see an issue.
12. State of
Affairs
We Read A Lot
Smart Compilers
Like, really smart.
When developing, we spend most
time reading.
13. Indeed, the ratio of time spent reading versus
writing is well over 10 to 1. We are constantly
reading old code as part of the effort to write
new code. ...[Therefore,] making it easy to
read makes it easier to write.
ROBERT C. MARTIN,
CLEAN CODE: A HANDBOOK OF AGILE SOFTWARE CRAFTSMANSHIP
“
”
23. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
24. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
25. • Big cool statistic
• 2,56
9
• Add-Ons in Marketplace
On-boarding
64. Side Tip
We read code outside of Xcode, so
make sure to mirror Xcode project
group structure with file system.
65. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
67. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
68. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
69. • Big cool statistic
• 2,56
9
• Add-Ons in Marketplace
View Controllers as
Components
70. Component-based software engineering
… is a reuse-based approach to defining,
implementing and composing loosely
coupled independent components into
systems.
WIKIPEDIA
“
”
71. View controllers are the foundation of your
app’s internal structure … Because they play
such an important role in your app, view
controllers are at the center of almost
everything you do.
VIEW CONTROLLER PROGRAMMING GUIDE FOR IOS,
APPLE
“
”
82. Easy to Read Single
Responsibility
Incremental &
Parallelize
Why use this?
83. • Big cool statistic
• 2,56
9
• Add-Ons in Marketplace
Use Cases
84. … a use case is a list of actions or event
steps, typically defining the interactions
between a role [user] and a system, to
achieve a goal.
WIKIPEDIA
“
”
103. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
105. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
106. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
107. • Big cool statistic
• 2,56
9
• Add-Ons in Marketplace
Writing Code
161. • Big cool statistic
• 2,56
9
• Add-Ons in Marketplace
Interface Builder 🙈
162. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
164. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
165. Coding for
Humans
Writing Code
Structuring Code
Building Projects
Finding code quickly and
welcoming newcomers.
Dividing code up to make code
easy to understand.
Writing code that’s easy to read.
171. Putting into
Practice
Automate
Code Review
Team Buy-in
The entire team needs to row
together on this.
Be nit-picky at first, the team will get
a rhythm going.
Automate as much as possible
using scripts. Help and detection.
175. We are all engineers
We want to build 😀 things and we
want to do it in a reasonable time
so we can enjoy other hobbies
even coding.
176. Less BugsFunDeliver Faster
Slow at first, lightning
fast once established.
It’s fun when it’s easy
to read and build.
More team members
will understand.
Benefits
177. • Big cool statistic
• 2,56
9
• Add-Ons in Marketplace
Shoot for the moon!
178. Thank you! 🍻
RENÉ CACHEAUX • MOBILE ARCHITECT • ATLASSIAN • @RCACHATX
Don’t forget to grab a handout.