While object-oriented design programming doesn't have hard-and-fast rules, several key principles will make maintaining and improving code easier. Examples include: only have one part of your system deal with a specific problem; don't write any code unless it serves a specific purpose; and don't write excessively long comments on code. Watch this online video to start exploring general development principles.
First, we're going to go through some general development principles, some…obvious and some not so obvious.…Now, one well-known idea in software development--and not just limited to…Object-Oriented Design but still worth mentioning--is D-R-Y or DRY:…Don't Repeat Yourself.…Now, the very obvious impact of this is we don't copy and paste unchanged blocks…of code from one place to another, we contain them in functions or methods.…But what's not so obvious is the idea that this can be applied in multiple areas.…
We don't just want to avoid duplication in code, but in our database schemas,…in our diagrams, in our documentation, and more than that, there should be a…single source of truth.…There should be one place in our system that deals with the particular problem.…One place that that gets taken care of, whether that's handling a business…problem or storing or calculating a piece of data.…And then there's YAGNI, Y-A-G-N-I: You Ain't Gonna Need It.…Solve the problems that you know exist, don't write speculative code,…
Let Simon Allardice introduce you to the terms—words like abstraction, inheritance, polymorphism, subclass—and guide you through defining your requirements and identifying use cases for your program. The course also covers creating conceptual models of your program with design patterns, class and sequence diagrams, and unified modeling language (UML) tools, and then shows how to convert the diagrams into code.
- Why use object-oriented design (OOD)?
- Pinpointing use cases, actors, and scenarios
- Identifying class responsibilities and relationships
- Creating class diagrams
- Using abstract classes
- Working with inheritance
- Creating advanced UML diagrams
- Understanding object-oriented design principles
Skill Level Intermediate
1. Core Concepts
2. Object-Oriented Analysis and Design
Defining requirements6m 9s
3. Utilizing Use Cases
4. Domain Modeling (Modeling the App)
5. Creating Classes
6. Inheritance and Composition
7. Advanced Concepts
8. Object-Oriented Design Patterns
9. Object-Oriented Design Principles
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.