Article 69T1D Do better coders swear more, or does C just do that to good programmers?

Do better coders swear more, or does C just do that to good programmers?

by
Ars Contributors
from Ars Technica - All content on (#69T1D)
GettyImages-182884083-800x533.jpg

Enlarge (credit: dasilvafa)

Ever find yourself staring at a tricky coding problem and thinking, shit"?

If those thoughts make their way into your code or the associated comments, you're in good company. When undergraduate student Jan Strehmel from Karlsruhe Institute of Technology analyzed open source code written in the programming language C, he found no shortage of obscenity. While that might be expected, Strehmel's overall finding might not be: The average quality of code containing swears was significantly higher than the average quality of code that did not.

The results are quite surprising!" Strehmel said. Programmers and scientists may have a lot of follow-up questions. Are the researchers sure there aren't certain profanity-prone programmers skewing the results? What about other programming languages? And, most importantly, why would swears correlate with high-quality code? The work is ongoing, but even without all the answers, one thing's for sure: Strehmel just wrote one hell of a bachelor's thesis.

Read 10 remaining paragraphs | Comments

External Content
Source RSS or Atom Feed
Feed Location http://feeds.arstechnica.com/arstechnica/index
Feed Title Ars Technica - All content
Feed Link https://arstechnica.com/
Reply 0 comments