DEV Community

Importance of Writing Clean Code

Mohit Rajput on April 24, 2017

“Programming is an art of telling another human what one wants the computer to do.” -Donald Knuth If you speak well, people will love to listen ...
Collapse
 
frantisekmasa profile image
František Maša

Nice article. I would add just one thing. There will always be "better" and "worse" parts of your codebase, because it's natural, that one you get better, you tend to solve stuff in different way. You should just accept that there is rarely (if ever) finished project and that there is no way you'll have code that you're 100% satisfied with what you got.

Anyway, keep writing!

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks, František. Follow & keep reading my articles.

Collapse
 
rishabh52510351 profile image
Rishabh Raj

Thank You for sharing such an informative post. I like the way you present the things and make the post more presentable. At PegaLogics, You will get the best industry-leading experience in the field of Mobile App Development & Web Designing. Visit our website, Regards-
pegalogics.com/services/mobile-app...

Collapse
 
_ghati profile image
Wilkister Ghati

Awesome peace of article. I should follow this all the time.
Thanks for sharing

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks, Wilkister. Keep reading my articles.

Collapse
 
exon profile image
Benoit Tremblay

I can't stress enough how everytime I made something crappy for the sake of "We need to ship now", the code smells are hurting even for shipping now. Just don't. Great article :)

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks Benoit.
I hope this article will help you to make tasty smells of code

Collapse
 
pavanchoudhary_ profile image
pavan choudhary

Very good article Mohit, thanks for share.

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks Pavan.

Collapse
 
_yerk0n profile image
Yerkon

👍

Collapse
 
megharajput profile image
Megha Rajput

Very nice article for those who have a big fear of programming....If they read this,then definitely they will start loving programming.... :)

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks, Megha. Follow & keep reading my articles.

Collapse
 
sapnagolhani profile image
sapnagolhani

Nice article!

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thank you Sapna

Collapse
 
gauravwebdesign profile image
gauravwebdesign • Edited

Really help full to write clean code, In future i will keep all the points in mind before writing any code.

Thanks and keep update me regards to your nicely written article.

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks Gaurav, read my other articles also and share your valuable feedback.

Collapse
 
apptunix profile image
Nikhil Bansal

Beautiful code, like beautiful prose, is the result of many small decisions. The right method length here, the right object name there.

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Yeah

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Yeah sure. Do share your ideas too.

Collapse
 
xyz85046927 profile image
Charles Xavier

Programs must be written for people to read, and only incidentally for machines to execute. ― Harold Abelson

Collapse
 
ruben69695 profile image
Ruben Arrebola

Great article, thanks for share, I love it!

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks Ruben. Keep reading here.

Collapse
 
itsaderm_35 profile image
Adam

Good article. :)

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks Adam

Collapse
 
l4p1n profile image
─ 502 l4p1n ─►

I'll start to make everything ternaries if I can :')

Anyways, nice article !

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Hi,
Not everything. Small statements can be converted into ternary.

Keep reading.

Collapse
 
anasshekhamis profile image
ECMAman

Nice article ☺
I also wrote about the subject. If interested ☺
anasshekhamis.com/tag/clean-code/

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks. I will read your article.

Collapse
 
manish_vision profile image
Manish Sharma

Nice article. Thanks for share.

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks, Manish. Will keep sharing.

Collapse
 
junedomingo profile image
June Domingo

Awesome!

Collapse
 
mohitrajput987 profile image
Mohit Rajput

Thanks June. Read my other articles also.