by zeratul · 14y ago · 0 comments
LANGUAGE #LENGHT #LENGTH = #LENGHT/#LENGTH
JavaScript 4252 2907459 = 0.0015
C 18981 2902857 = 0.0065
Java 7706 2348900 = 0.0033
Ruby 10789 1690604 = 0.0064
C++ 9458 1315552 = 0.0072
PHP 3116 1167924 = 0.0027
C# 1352 937647 = 0.0014
Python 3662 737292 = 0.0050
Ruby 1232 380484 = 0.0032
Perl 1239 258892 = 0.0048
Objective-C 679 238051 = 0.0029
P.S. There is something wrong with Github's language breakdown algorithm, sometimes it shows same language twice with a different number of hits.I put together a GitHub Illiteracy Index script https://github.com/jond3k/sandbox/tree/master/github-illiter... which you can play around with if you like :D
Whereas C and C++ programs tend to have a lenght operator implemented by the programmer, and from there the error gets snowballed by IDEs and debuggers.
Also fun to search on "functino".
I would guess that most of the spelling errors get propagated through autocomplete. That's how most of the spelling errors in my code get there anyway.
LANGUAGE #LENGHT #LENGTH = #LENGHT/#LENGTH
C# 1352 937647 = 0.0014 <- best
JavaScript 4252 2907459 = 0.0015
PHP 3116 1167924 = 0.0027
Objective-C 679 238051 = 0.0029
Ruby 1232 380484 = 0.0032
Java 7706 2348900 = 0.0033
Perl 1239 258892 = 0.0048
Python 3662 737292 = 0.0050
Ruby 10789 1690604 = 0.0064
C 18981 2902857 = 0.0065
C++ 9458 1315552 = 0.0072 <- worst