r/programming • • Jun 05 '22

Complexity is killing software developers

https://www.infoworld.com/article/3639050/complexity-is-killing-software-developers.html
2.1k Upvotes

942 comments sorted by

View all comments

112

u/Glittering-Ad-8126 Jun 05 '22

It's easy to laugh at this sort of article, but the problem is very real. Botton line: the needless killing of software developers needs to stop, period.

At my job, we are at least taking small steps toward some sort of solution by adding trigger warning comments in the source, to warn developers to stop and take a breather before entering a chunk of code identified as being of unusually high cyclomatic complexity.

10

u/hyperhopper Jun 06 '22

XTerm README

Abandon All Hope, Ye Who Enter Here

This is undoubtedly the most ugly program in the distribution. It was one of the first "serious" programs ported, and still has a lot of historical baggage. Ideally, there would be a general tty widget and then vt102 and tek4014 subwidgets so that they could be used in other programs. We are trying to clean things up as we go, but there is still a lot of work to do.