# How I Learned to Love Default Implementations in C# 8.0

**URL:** <https://devforum.okta.com/t/how-i-learned-to-love-default-implementations-in-c-8-0/17197>\
**Category:** Developer Blog Comments\
**Created:** [January 10, 2020, 5:50pm UTC](https://devforum.okta.com/t/how-i-learned-to-love-default-implementations-in-c-8-0/17197 "2020-01-10T17:50:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [January 10, 2020, 5:50pm UTC](https://devforum.okta.com/t/how-i-learned-to-love-default-implementations-in-c-8-0/17197/1 "2020-01-10T17:50:47Z")

</div>

[How I Learned to Love Default Implementations in C# 8.0](https://developer.okta.com/blog/2020/01/10/default-implementation-csharp)

I originally thought that default implementtions in C# 8.0 were a bad idea, but a little digging and I think I love them.

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [April 19, 2020, 8:40am UTC](https://devforum.okta.com/t/how-i-learned-to-love-default-implementations-in-c-8-0/17197/2 "2020-04-19T08:40:08Z")

</div>

**Francois Nel**

Your explanation of default implementations still does not convince me that it is a good feature to start using. Using your example, I would much rather suggest the use of extension methods for LogInfo and LogError than using this “dirty” new feature. In fact, introducing LogInfo and LogError on the interface it self is a bad design in the first place. And I’m afraid this new feature wil promote even more bad designs like this.

---

<div class="post-metadata">

**Author:** ![oktadev-blog](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/oktadev-blog/32/3422_2.png) [@oktadev-blog](https://devforum.okta.com/u/oktadev-blog)\
**Post date:** [April 24, 2020, 10:28pm UTC](https://devforum.okta.com/t/how-i-learned-to-love-default-implementations-in-c-8-0/17197/3 "2020-04-24T22:28:40Z")

</div>

**Tomer W**

Agree, furthermore, if in a specific project you really mean to have those specific implementations, derive from ILogger with an abstract class (say LoggerBase) that implement what you think is common and inject that!
