SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    The Effect of Programming Language on Software Quality
Date    Thursday November 06 2014, @12:40PM
Author    LaminatorX
Topic   
from the Brainfuck++ dept.
https://soylentnews.org/article.pl?sid=14/11/06/0420229

Hugh Pickens writes:

A variety of debates ensue during discussions whether a given programming language is “the right tool for the job" and while some of these debates may appear to be tinged with an almost religious fervor, most people would agree that a programming language can impact not only the coding process, but also the properties of the resulting product. Now computer scientists at the University of California - Davis have published a study of the effect of programming languages on software quality using a very large data set from GitHub that analyzed 729 projects with 80 Million SLOC by 29,000 authors and 1.5 million commits in 17 languages. The large sample size allowed them to use a mixed-methods approach, combining multiple regression modeling with visualization and text analytics, to study the effect of language features such as static vs. dynamic typing, strong vs. weak typing on software quality. By triangulating findings from different methods, and controlling for confounding effects such as team size, project size, and project history, they report that language design does have a significant, but modest effect on software quality.

Most notably, it does appear that strong typing is modestly better than weak typing, and among functional languages, static typing is also somewhat better than dynamic typing. We also find that functional languages are somewhat better than procedural languages. It is worth noting that these modest effects arising from language design are overwhelm- ingly dominated by the process factors such as project size, team size, and commit size. However, we hasten to caution the reader that even these modest effects might quite possibly be due to other, intangible process factors, e.g., the preference of certain personality types for functional, static and strongly typed languages.

Links

  1. "Hugh Pickens" - http://respectponcacity.com/
  2. "the effect of programming languages on software quality using a very large data set from GitHub" - http://macbeth.cs.ucdavis.edu/lang_study.pdf
  3. "mixed-methods approach" - http://blog.dedoose.com/2012/10/what-is-mixed-methods-research/
  4. "strong vs. weak typing" - https://en.wikipedia.org/wiki/Strong_and_weak_typing

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, The Effect of Programming Language on Software Quality on 2024-04-25 17:23:21