DEV Community

Discussion on: Discussion: It should be hard to write bad code

Collapse
 
xarbit profile image
Jason Scurtu • Edited

I believe we all want to write good code and documentation. If we get the chance to start from scratch it usually starts with good intentions.

I think the main reason we at some point get sloppy and write bad code is because so much things are feature driven, so many corporates are feauture factorys and we get so less time and priorities.

Fix this, do that.. all at once, we needed this yesterday ..
There are only a few clean code companies that I know that sell good code as a feature.

Most in Management or Sales etc, do not view good code as a feature and for sure dont sell or advertise good and clean code to thier customers.. and honestly most customers don’t care either as they just dont know and do not ask for it..

That needs to change.

Collapse
 
faraazahmad profile image
Syed Faraaz Ahmad • Edited

I think the main reason we at some point get sloppy and write bad code is because so much things are feature driven, so many corporates are feauture factorys and we get so less time and priorities.

This is so true! I've done this myself as well.

Most in Management or Sales etc, do not view good code as a feature and for sure dont sell or advertise good and clean code to thier customers..

I think they need to realise that good code will eventually lead to lesser bugs for the customers; devs and managers need to convey this to the sales team in words they can understand (no disrespect ofcourse)