Smart Code or Clean Code ? | Sololearn: Learn to code for FREE!

+12

Smart Code or Clean Code ?

Which code is preferable ? The one which is smartly written in somewhat shorter way or the one which is clean (indentations , spacing ) but comparatively bigger ?

11/15/2017 1:50:20 PM

Aayush Bhansali

10 Answers

New Answer

+17

Clean code is better, code is not good if it can't be easily read

+13

Thank You All For Your Advice ☺

+9

Clean code. I only use smart code for short codes.

+7

Clean Code to try to understand better

+7

clean code with smart mind

+6

We are humans, so the clean and readable code is significantly better to understand. Keep it close as possible to the language conventions.

+6

In short, a programmer who writes clean code is an artist who can take a blank screen through a series of transformations until it is an elegantly coded system. ✔✔✔

+4

Clean ofCourse

+4

In a personal project, smart code in a public project, clean code

+2

I think you have a little misconception... clean code does not mean they will be larger... instead, code clean involves programming short functions and avoiding repetitions, put simply, write less, better and human readable... therefore it also involves what you consider smart. I recommend you “Clean Code” by Robert C. Martin!!