From the course: C# Best Practices for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

When to use it

When to use it - C# Tutorial

From the course: C# Best Practices for Developers

Start my 1-month free trial

When to use it

- [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…

Contents