---
title: "Discussion on \"DRY - Don' t Repeat Yourself\" | Hashnode"
description: "Discussion on \"DRY - Don' t Repeat Yourself\". As the name implies ,our code should not be repeated .\nBad code - DRY Principle not followed\n\npublic class Matrix {\n\n    public static void main(String[] args) {\n\n        int[][] matrix = {\n            {1, 2, 3},\n            {4, 5, 6},\n            {7..."
url: "https://hashnode.com/posts/dry-don-t-repeat-yourself/66595b56b20d787fbca5bef7"
---

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

Discussion

# [DRY - Don' t Repeat Yourself](https://gurupalaniveltech.hashnode.dev/dry-don-t-repeat-yourself?utm_source=hashnode&utm_medium=feed)

As the name implies ,our code should not be repeated . Bad code - DRY Principle not followed public class Matrix { public static void main(String\[\] args) { int\[\]\[\] matrix = { {1, 2, 3}, {4, 5, 6}, {7...

May 31, 2024 · 1 min read · gurupalaniveltech.hashnode.dev  
Read the article

-   [#design-principles](https://hashnode.com/tag/design-principles)
-   [#dry](https://hashnode.com/tag/dry)
-   [#dont-repeat-yourself](https://hashnode.com/tag/dont-repeat-yourself)

## Written by

[Palanivel SundaraRajan GugaGuruNathan](https://hashnode.com/@GuruRajan)

@GuruRajan · India

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

Software Developer

Hi , thanks for stopping by! I am full-stack developer and I'm passionate about making complex concepts clear through code and visuals. After all, a picture (and a code snippet) is worth a thousand words! I hope you enjoy my blog.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
