Join Reynald Adolphe for an in-depth discussion in this video Best practices defined, part of C# Best Practices for Developers.
- [Instructor] So, to get started, I'd like to go ahead and have an overview of just the concept of best practices, starting off with the definition. So, if someone were to ask you what best practices are, and when you're thinking about how to answer, a couple of things should pop into your mind, such as standards and conventions, which is what best practices are related to. Standards and conventions serve the following purposes. They create a consistent look to the code so that readers can focus on the content and not the layout.
They also enable readers to understand the code more quickly by making assumptions based on previous experience, and they facilitate copying, changing, and maintaining the code. And when you do all this correctly, you're essentially demonstrating best practices. Now, when should you apply best practices? That answer might surprise you. That's up next.
- Naming and handling classes
- Running a unit test
- Using constructors
- Naming and handling methods, fields, and properties
- Using properties correctly
- Managing objects efficiently
- Common design patterns as best practices
Skill Level Intermediate
1. Best Practices: An Overview
2. Naming and Handling Classes
3. Naming and Handling Methods, Fields, and Properties
4. Managing Objects Efficiently
5. More Best Practices Resources
- 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.