Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC308B Lecture 10

CSC308B Lecture 10

Software Engineering I
Clean Coding
(202401) - two-days per week version

Javier Gonzalez-Sanchez

February 29, 2024
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs CSC 308 Software Engineering 1 Lecture 10: Clean Coding

    Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227
  2. jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |

    2 Not Everything that Can be … Should be …
  3. jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |

    6 Think about * How Many Classes? * Single or with Children?
  4. jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |

    7 Separation of Concerns Association or Dependency VS Aggregation or Composition
  5. jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |

    8 Separation of Concerns DRY KIS Comments
  6. jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |

    9 Separation of Concerns View VS Control and Features
  7. jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2024 |

    10 Single Responsibility Delegate
  8. jgs

  9. 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
  10. 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.