avatarBirat Rai

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

1105

Abstract

n></figcaption></figure><blockquote id="9af5"><p><b>Why we need beautiful code?</b></p></blockquote><p id="f4a2">As developer we tend to strive simplicity in our code by:</p><ul><li>Readability.</li><li>Maintainability.</li><li>Speed of development.</li><li>The Elusive quality of beauty.</li></ul><blockquote id="600a"><p><b>How to achieve beautiful code?</b></p></blockquote><p id="ca6b">Beautiful code is a subjective perception. It depends upon developers, but it’s goal is the same.</p><ul><li>Spend time studying open source code. They have been written by seasoned developers, who have made the code beautiful.</li><li>Each part of the code should be kept simple with simple responsibilities and simple relationships with other parts of the system.</li><li>Learn <a href="https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882"><b><i>Clean Code</i></b></a>.</li></ul><p id="f0c7" type="7">TL;DR Spend time thinking about code. Number of lines don’t dictate how simple the problem is or complex. A code that is clean is beautiful.</p><p id="5a8e"><a href="https://readmedium

Options

.com/97-journey-every-programmer-should-accomplish-a0c53dbbfd47"><i>Go to the series</i></a>.</p><p id="a92f">Go to <a href="https://readmedium.com/step-4-automate-your-coding-standard-filip-van-laenen-5b1c486e4883"><b><i>fourth step</i></b></a>.</p><p id="4eda">Go to the next path (Coming soon).</p><blockquote id="ba78"><p><b>References:</b></p></blockquote><ul><li><a href="https://www.gitbook.com/book/97-things-every-x-should-know/97-things-every-programmer-should-know/details"><i>97 things Every Programmer Should Know</i></a> ~ Git Book</li><li><a href="https://www.amazon.com/Things-Every-Programmer-Should-Know/dp/0596809484"><i>97 Things Every Programmer Should Know</i></a> ~ Paperback</li><li><a href="https://www.quora.com/How-many-lines-of-code-do-professional-programmers-write-per-hour"><i>How many lines of code programmer writes in a day</i></a> ~ Quora</li><li><a href="http://blog.cleancoder.com/"><i>Learn Clean Code</i></a><i> ~ Blog</i></li><li><a href="https://readmedium.com/clean-code-series-i-e1d60fc6d6ec"><i>Clean Code Series</i></a> ~ Medium blog</li></ul></article></body>

Step 5: Beauty Is in Simplicity ~ Jorn Olmheim

This is the fifth step towards gaining the Programming Enlightenment series. If you didn’t learn the fourth step, read it.

“That’s been one of my mantras- focus and simplicity. Simple can be harder than complex. You have to work hard to get your thinking clean to make it simple. But it’s worth it in the end because once you get there, you can move mountains” ~ Steve Jobs

As the saying goes “ There is beauty in simplicity and simplicity is the complex”. In striving to handle complexity we try to achieve the simplicity and while trying the simple things we tend to over complex stuff.

Why we need beautiful code?

As developer we tend to strive simplicity in our code by:

  • Readability.
  • Maintainability.
  • Speed of development.
  • The Elusive quality of beauty.

How to achieve beautiful code?

Beautiful code is a subjective perception. It depends upon developers, but it’s goal is the same.

  • Spend time studying open source code. They have been written by seasoned developers, who have made the code beautiful.
  • Each part of the code should be kept simple with simple responsibilities and simple relationships with other parts of the system.
  • Learn Clean Code.

TL;DR Spend time thinking about code. Number of lines don’t dictate how simple the problem is or complex. A code that is clean is beautiful.

Go to the series.

Go to fourth step.

Go to the next path (Coming soon).

References:

Software Development
Clean Code
Simplicity
Beautiful Code
Java
Recommended from ReadMedium