---
title: "Discussion on \"Why 100 Lines of Code Can Be Better Than 2 Lines\" | Hashnode"
description: "Discussion on \"Why 100 Lines of Code Can Be Better Than 2 Lines\". Have you ever asked yourself, “Why write 100 lines of code when I can do the same in just 2?”\nIt may sound smart to keep your code as short as possible. But here's the truth: short code isn’t always good code.\nLet’s walk through a simple, relatable e..."
url: "https://hashnode.com/posts/why-100-lines-of-code-can-be-better-than-2-lines/681e69f3166616146e96ae61"
---

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

Discussion

# [Why 100 Lines of Code Can Be Better Than 2 Lines](https://efficient-code-why-100-lines-matter.hashnode.dev/why-100-lines-of-code-can-be-better-than-2-lines?utm_source=hashnode&utm_medium=feed)

Have you ever asked yourself, “Why write 100 lines of code when I can do the same in just 2?” It may sound smart to keep your code as short as possible. But here's the truth: short code isn’t always good code. Let’s walk through a simple, relatable e...

May 9, 2025 · 5 min read · efficient-code-why-100-lines-matter.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)

## Written by

[Vanshika Thesiya](https://hashnode.com/@vanshu778)

@vanshu778 · Gujarat

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

## Responses 2

Markdown supported · ⌘↵ to post

[Yatharth Baranwal](https://hashnode.com/@Baba-Ji)

[May 11, 2025](https://hashnode.com/posts/why-100-lines-of-code-can-be-better-than-2-lines/681e69f3166616146e96ae61/comment/68206d9fdd391cce5d6f5bf7)

good going

[Vidit Sharma](https://hashnode.com/@viditsharma)

[May 10, 2025](https://hashnode.com/posts/why-100-lines-of-code-can-be-better-than-2-lines/681e69f3166616146e96ae61/comment/681ef7ff1f1ef9880f365897)

nicely done

[Vanshika Thesiya](https://hashnode.com/@vanshu778)

[May 10, 2025](https://hashnode.com/posts/why-100-lines-of-code-can-be-better-than-2-lines/681e69f3166616146e96ae61/comment/681ef7ff1f1ef9880f365897#reply-681f0f3700d849fd40d21c1e)

Thank you
