---
title: "Discussion on \"🧠 Why Sometimes 100 Lines of Smart Code is better than 2 lines of code\" | Hashnode"
description: "Discussion on \"🧠 Why Sometimes 100 Lines of Smart Code is better than 2 lines of code\". Discover why longer, smarter code can prevent bugs and improve performance, using a relatable kitchen analogy"
url: "https://hashnode.com/posts/why-sometimes-100-lines-of-smart-code-is-better-than-2-lines-of-code/681622ce78776a6e74c885e5"
---

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

Discussion

# [🧠 Why Sometimes 100 Lines of Smart Code is better than 2 lines of code](https://dsa-docs.hashnode.dev/why-sometimes-100-lines-of-smart-code-is-better-than-2-lines-of-code?utm_source=hashnode&utm_medium=feed)

Discover why longer, smarter code can prevent bugs and improve performance, using a relatable kitchen analogy

May 3, 2025 · 2 min read · dsa-docs.hashnode.dev  
Read the article

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

## Written by

[Gaurav Kumar Maurya](https://hashnode.com/@gaurav009)

@gaurav009

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

## Responses 2

Markdown supported · ⌘↵ to post

[Kiran Rathod](https://hashnode.com/@kiran01)

[May 7, 2025](https://hashnode.com/posts/why-sometimes-100-lines-of-smart-code-is-better-than-2-lines-of-code/681622ce78776a6e74c885e5/comment/681b4748ac1d7b0735c55da0)

i like it i have a dout how to make a line between two defrent paragraoh

[Deepti Mishra](https://hashnode.com/@Deepti-Mishra)

[May 3, 2025](https://hashnode.com/posts/why-sometimes-100-lines-of-smart-code-is-better-than-2-lines-of-code/681622ce78776a6e74c885e5/comment/681644e16f633c131135fb75)

Great article

[Gaurav Kumar Maurya](https://hashnode.com/@gaurav009)

[May 3, 2025](https://hashnode.com/posts/why-sometimes-100-lines-of-smart-code-is-better-than-2-lines-of-code/681622ce78776a6e74c885e5/comment/681644e16f633c131135fb75#reply-68167423ac789a84c8e754d9)

Thanks for the reading 🙃
