Programming Language Popularity on GitHub and StackOverflow
&gt; Whenever a new push event is detected, the lines that are changed in each of the commits in the push event are collected and stored<p>I think it&#x27;s important to realize that some languages tend to have more lines of code to achieve the same things as in other languages, and AFAICT this doesn&#x27;t take that into account. I don&#x27;t think lines of diff is a reliable metric for &quot;Language Popularity&quot;...<p>For example, the #2 and #3 languages (Java and C# respectively) have some ceremonial lines of getters and setters. Consider the problem &quot;find the area of a square&quot;. In Java or C#, one would often write a class like this:<p><pre><code>    public class Square {
        double side;

        Square(double s) {
            side = s;
        }
        void setSide(double s) {
            side = s;
        }
        double getSide() {
            return side;
        }
        double getArea() {
            return side * side;
        }
    }
</code></pre>
OTOH, someone writing bash (language #19 in terms of popularity is &quot;Shell&quot;) might write something like this:<p><pre><code>    #!&#x2F;bin&#x2F;bash
    square() {
        echo &quot;$(($1 * $1))&quot;;
    };</code></pre>