Join Reynald Adolphe for an in-depth discussion in this video When to use it, part of C# Best Practices for Developers.
- [Narrator] I wanna start off…with a point of view that might be a bit controversial.…If I were to ask you, when are you…supposed to use best practices, what would you answer?…I would say most people may answer always.…I, myself, would answer most of the time.…However, doing it always would be ideal.…I wanna take a realistic approach in discussing this,…because understand, this is just my opinion,…but it comes from 15 years of development experience.…The reason why I say this is because it depends…on the environment that you're working in.…
Following some conventions take a bit more time,…and if there's a huge chunk of code…you see can be refactored, but it's at the expense…of meeting a deadline, you'll probably get in trouble,…because in the real world, most managers…that don't know much about coding…will care more about getting code done on time…rather than nice-looking code.…So your best bet is to estimate early…a realistic timeline to be able to incorporate…best practices.…So while best practices are important,…
- 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.