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
69
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
CSC305 Summer Lecture 14
javiergs
PRO
0
41
CSC305 Summer Lecture 13
javiergs
PRO
0
87
CSC305 Summer Lecture 12
javiergs
PRO
0
140
CSC305 Summer Lecture 11
javiergs
PRO
0
61
CSC305 Summer Lecture 10
javiergs
PRO
0
80
CSC305 Summer Lecture 09
javiergs
PRO
0
85
CSC305 Summer Lecture 08
javiergs
PRO
0
54
CSC305 Summer Lecture 07
javiergs
PRO
0
78
CSC305 Summer Lecture 06
javiergs
PRO
0
110
Other Decks in Programming
See All in Programming
🔨 小さなビルドシステムを作る
momeemt
4
690
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.5k
アセットのコンパイルについて
ojun9
0
130
rage against annotate_predecessor
junk0612
0
170
Ruby Parser progress report 2025
yui_knk
1
460
為你自己學 Python - 冷知識篇
eddie
1
350
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
3.4k
Testing Trophyは叫ばない
toms74209200
0
890
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
270
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
3
260
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.9k
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
696
190k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Fireside Chat
paigeccino
39
3.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Scaling GitHub
holman
463
140k
BBQ
matthewcrist
89
9.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
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.