DEV Community

Discussion on: What professionals think about Clean Code ?

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

I don't know that I qualify as a 'professional' (I'm paid to manage computers and networks, not to code, but I still code a lot), but my thoughts on this are quite simple:

Have a well defined standard for both structure and formatting of code in your project that helps with readability for as many people as possible, and stick to it.

The issue is with the people who act like medieval crusaders regarding this type of thing, trying to force their specific ideals on others while not even considering listening to other people's resonans for why they do things differently.

Collapse
 
bhupesh profile image
Bhupesh Varshney 👾

Have a well defined standard for both structure and formatting of code in your project that helps with readability for as many people as possible, and stick to it.

Having a specific standard of coding is good
It helps as one learn new things, that's what CleanCode is all about(adopting the best practices)

Collapse
 
ahferroin7 profile image
Austin S. Hemmelgarn

I probably should have been a bit clearer, but what I meant was that it doesn't have to be the same standard as what CleanCode puts forth, as long as you have some standard that you're sticking to which doesn't make the code particularly hard to read.

I see far too many people getting hung up on a specific coding standard instead of just figuring out what works for their project, and as a result they spend lots of time jumping through hoops to meet the coding standard when their existing code was perfectly readable.