RosettaCodeData/Task/Rosetta-Code-Rank-languages-by-popularity/00-TASK.txt
2023-07-01 13:44:08 -04:00

27 lines
1.8 KiB
Text

;Task:
Sort the most popular computer programming languages based in number of members in Rosetta Code categories.
Sample output on 02 August 2022 at 09:50 +02
<pre>Rank: 1 (1,565 entries) Phix
Rank: 2 (1,558 entries) Wren
Rank: 3 (1,531 entries) Julia
Rank: 4 (1,507 entries) Raku
Rank: 5 (1,500 entries) Go
Rank: 6 (1,466 entries) Perl
Rank: 7 (1,409 entries) Python
Rank: 8 (1,402 entries) Nim
Rank: 9 (1,254 entries) J
Rank: 10 (1,211 entries) C
...</pre>
;Notes:
* &nbsp; Each language typically demonstrates one or two methods of accessing the data:
:::* &nbsp; with web scraping &nbsp; (via http://www.rosettacode.org/mw/index.php?title=Special:Categories&limit=5000)
:::* &nbsp; with the API method &nbsp; (examples below for [[Rosetta Code/Rank languages by popularity#AWK|Awk]], [[Rosetta Code/Rank languages by popularity#Perl|Perl]], [[Rosetta Code/Rank languages by popularity#Ruby|Ruby]], [[Rosetta Code/Rank languages by popularity#Tcl|Tcl]], etc).
* &nbsp; The scraping and API solutions can be separate subsections, see the [[Rosetta Code/Rank languages by popularity#Tcl|Tcl example]].
* &nbsp; Filtering wrong results is optional. &nbsp; You can check against [[Special:MostLinkedCategories]] (if using web scraping)
::If you use the API, and do elect to filter, you may check your results against [[Rosetta_Code/Rank_languages_by_popularity/Full_list|this complete, accurate, sortable, wikitable listing]] of all '''{{PAGESINCAT:Programming Languages}}''' [[:Category:Programming Languages|programming languages]], updated periodically, ''typically weekly''.
* &nbsp; A complete ranked listing of all &nbsp; '''813''' &nbsp; languages (from the REXX example) is included here &nbsp; ──► &nbsp; [[RC_POP.OUT|output from the REXX program]].
<br><br>