---
title: "Discussion on \"How Interfaces, Generics and Extension Methods Can Make Code Cleaner\" | Hashnode"
description: "Discussion on \"How Interfaces, Generics and Extension Methods Can Make Code Cleaner\". From personal experience, one of my biggest gripes when working with code is code duplication.  Code duplication makes code appear bloated, harder to read, harder to test and can cause replication of not just the code, but of bugs contain within.  \nT..."
url: "https://hashnode.com/posts/how-interfaces-generics-and-extension-methods-can-make-code-cleaner/62ab20581a89c91850b1aaa3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Interfaces, Generics and Extension Methods Can Make Code Cleaner](https://davek.dev/how-interfaces-generics-and-extension-methods-can-make-code-cleaner?utm_source=hashnode&utm_medium=feed)

From personal experience, one of my biggest gripes when working with code is code duplication. Code duplication makes code appear bloated, harder to read, harder to test and can cause replication of not just the code, but of bugs contain within. T...

Nov 4, 2014 · 3 min read · davek.dev  
Read the article

-   [#code](https://hashnode.com/tag/code)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#design](https://hashnode.com/tag/design)
-   [#interface](https://hashnode.com/tag/interface)
-   [#methods](https://hashnode.com/tag/methods)
-   [#extension](https://hashnode.com/tag/extension)
-   [#generics](https://hashnode.com/tag/generics)
-   [#interfaces](https://hashnode.com/tag/interfaces)

## Written by

[Dave K](https://hashnode.com/@davek17)

@davek17 · Manchester, United Kingdom

  
[View profile](https://hashnode.com/@davek17)

A software developer primarily working in C#/.Net

Principal engineer. C#/.NET, AI tooling, and IoT. Always building.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
