Rosetta Code/Rank languages by number of users: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: updated the number of computer programming languages that are used on Rosetta Code, based on the number of users.) |
(promoted to (full) task status, added highligthing and whitespace, added a ;Task: section header as well a ;A method ... , ensured URLs will be on one line (not split), elided the forcing of the TOC.) |
||
Line 1: | Line 1: | ||
{{task}} |
|||
{{draft task}}[[Category:Text processing]][[Category:Networking and Web Interaction]][[Category:Sorting]][[Category:Rosetta Code related]] |
|||
[[Category:Text processing]] |
|||
[[Category:Networking and Web Interaction]] |
|||
[[Category:Sorting]] |
|||
[[Category:Rosetta Code related]] |
|||
;Task: |
|||
Sort most popular programming languages based on the number of users on Rosetta Code. |
Sort most popular programming languages based on the number of users on Rosetta Code. |
||
Show the languages with at least 100 users. |
|||
⚫ | |||
Users of a language X are those referenced in the page https://rosettacode.org/wiki/Category:X_User, or preferably https://rosettacode.org/mw/index.php?title=Category:X_User&redirect=no to avoid redirections. In order to find the list of such categories, it's possible to first parse the entries of http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000. Then download and parse each language users category to count the users. |
|||
⚫ | |||
⚫ | |||
Users of a computer programming language '''X''' are those referenced in the page: |
|||
https://rosettacode.org/wiki/Category:X_User, or preferably: |
|||
https://rosettacode.org/mw/index.php?title=Category:X_User&redirect=no to avoid re-directions. |
|||
In order to find the list of such categories, it's possible to first parse the entries of: |
|||
http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000. |
|||
Then download and parse each computer language ''users'' category to count the number of users of that computer language. |
|||
⚫ | |||
<pre>Language Users |
<pre>Language Users |
||
-------------------------- |
-------------------------- |
||
Line 26: | Line 40: | ||
A Rosetta Code user usually declares using a language with the [[Template:Mylang|mylang]] template. This template is expected to appear on the User page. However, in some cases it appears in a user Talk page. It's not necessary to take this into account. For instance, among the 373 C users in the table above, 3 are actually declared in a Talk page. |
A Rosetta Code user usually declares using a language with the [[Template:Mylang|mylang]] template. This template is expected to appear on the User page. However, in some cases it appears in a user Talk page. It's not necessary to take this into account. For instance, among the 373 C users in the table above, 3 are actually declared in a Talk page. |
||
<br><br> |
|||
__TOC__ |
|||
=={{header|Go}}== |
=={{header|Go}}== |