Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CSC308B Lecture 10
Search
Javier Gonzalez-Sanchez
PRO
February 29, 2024
Programming
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSC308B Lecture 10
Software Engineering I
Clean Coding
(202401) - two-days per week version
Javier Gonzalez-Sanchez
PRO
February 29, 2024
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC307 Lecture 21
javiergs
PRO
0
65
CSC307 Lecture 17
javiergs
PRO
0
330
CSC305 Lecture 18
javiergs
PRO
0
380
final project
javiergs
PRO
0
120
CSC305 Lecture 18
javiergs
PRO
0
100
CSC307_L17_mqtt.pdf
javiergs
PRO
0
69
UP Lecture 28
javiergs
PRO
0
62
CSC307_L99_TDD.pdf
javiergs
PRO
0
71
CSC307_L99_TDD.pdf
javiergs
PRO
0
67
Other Decks in Programming
See All in Programming
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
290
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
200
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
180
Building a Meta Ray-Ban display app
akkeylab
0
160
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
260
メールのエイリアス機能を履き違えない
isshinfunada
0
240
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
160
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
190
Flow は今どうなっているか
mizdra
PRO
0
590
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
18k
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
190
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
170
Skip the Path - Find Your Career Trail
mkilby
1
180
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
Test your architecture with Archunit
thirion
1
2.3k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Speed Design
sergeychernyshev
33
2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.4k
The Language of Interfaces
destraynor
162
27k
How to build a perfect <img>
jonoalderson
1
5.9k
Transcript
jgs CSC 308 Software Engineering 1 Lecture 10: Clean Coding
Dr. Javier Gonzalez-Sanchez
[email protected]
www.javiergs.com Building 14 -227
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
2 Not Everything that Can be … Should be …
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
3 Good Code vs Bad Code
jgs Design Principles
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
5 Think about 10 to 1 RULE
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
6 Think about * How Many Classes? * Single or with Children?
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
7 Separation of Concerns Association or Dependency VS Aggregation or Composition
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
8 Separation of Concerns DRY KIS Comments
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
9 Separation of Concerns View VS Control and Features
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
10 Single Responsibility Delegate
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
11 Test Yourselves
jgs Example 1
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
13
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
14 Example
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
15 Code
jgs Example 2
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
17 Step 2
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
18 Class Diagram
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
19 Class Diagram
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
20 Variables
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
21 paintComponent
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
22 Auxiliar Method
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
23 Mouse
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
24 Questions
jgs
jgs CSC 308 Software Engineering 1 Lab 10: Project Sprint
2 Dr. Javier Gonzalez-Sanchez
[email protected]
www.javiergs.com Building 14 -227 Office Hours: By appointment
jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |
28 Let’s Work
jgs CSC 308 Software Engineering I Javier Gonzalez-Sanchez, Ph.D.
[email protected]
Winter 2024 Copyright. These slides can only be used as study material for the class CSC 308 at Cal Poly. They cannot be distributed or used for another purpose.