Rosetta Code:Village Pump/Whoa! 10000 examples!: Difference between revisions

m
Edited quote to be more accurate, grammar, spelling fixes
(Still quite tight.)
m (Edited quote to be more accurate, grammar, spelling fixes)
 
Line 21:
<br>As of August 11, 2018, &nbsp; there are over &nbsp; '''60, 282''' &nbsp; computer programming examples (entries). &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:30, 13 August 2018 (UTC)
 
== [[wp:Lies,_damned_lies,_and_statistics|Lies, Damndamned lies and Statisticsstatistics]] ==
It is almost impossible to get an accurate algoritmically determined count of programming examples. The number cited above ('''60,282 as of 08/13/2018''') is inflated by including all categories related to a programming language, not just programming examples.
 
The numbers on the [[Rosetta_Code/Rank_languages_by_popularity/Full_list]] are obtained by directly querying the site "For each programming language, how many programming examples are there?" ('''59,366 as of 09/11/2018'''), so that is an "accurate" count insofar as it is the one that the site agrees with, but that suffers from it own inaccuracies.
 
There are several language groups which are counted as separate languages but only have a single entry "credited" to both languages. [[Icon]] / [[Unicon]] is perhaps the clearest example of this. Each has 587 (currently) tasks listed under their respective language page, but each has only a single example under each task credited to both. [[Mathematica]] / [[Wolfram_language]], various flavors of Basic and other family groups of languages also have some overlap, so some exampleexamples are counted twice, inflating the actual number.
 
Ok, If I look at the totals from [[Rosetta_Code/Count_examples/Full_list]], how about that? Well... yes and no. The code generating that page actually visits every task page and manually counts the number of task examples actually on each page, and is nominally the "most" accurate, ('''58,101 as of 09/11/2018''') but even it totally glosses over the fact that many languages have multiple solution examples for a particular task. This count only checks that a programming language '''has an entry''' on the task page.
10,327

edits