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
0
74
CSC308B Lecture 10
Software Engineering I
Clean Coding
(202401) - two-days per week version
Javier Gonzalez-Sanchez
PRO
February 29, 2024
Tweet
Share
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC364 Lecture 10
javiergs
PRO
0
80
CSC364 Lecture 09
javiergs
PRO
0
98
CSC307 Lecture 09
javiergs
PRO
1
840
CSC307 Lecture 08
javiergs
PRO
0
670
CSC364 Lecture 08
javiergs
PRO
0
32
CSC307 Lecture 07
javiergs
PRO
0
550
CSC364 Lecture 07
javiergs
PRO
0
92
CSC307 Lecture 06
javiergs
PRO
0
690
CSC364 Lecture 06
javiergs
PRO
0
81
Other Decks in Programming
See All in Programming
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
200
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
730
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.2k
Fragmented Architectures
denyspoltorak
0
160
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
2026年 エンジニアリング自己学習法
yumechi
0
130
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
2
260
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Rails Girls Zürich Keynote
gr2m
96
14k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
Making Projects Easy
brettharned
120
6.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Limits of Empathy - UXLibs8
cassininazir
1
210
What does AI have to do with Human Rights?
axbom
PRO
0
2k
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.