Rosetta Code

Rosetta Code is a wiki-based website that features ways to solve various programming problems in many different programming languages.
Website.
Rosetta Code was created in 2007 by Michael Mol. The site's content is licensed under the GNU Free Documentation License 1.2, though some components may have two licenses under less strict terms.
Rosetta Code's collection of code examples shows how the functionality the user desires is achieved differently in various ways, and how "the same" task can be done in different programming languages.
, Rosetta Code has:
Data and structure.
The Rosetta Code site is organized as a browsable cross-section of programming problems and programming languages. A programming problem's page displays solutions contributed by visitors in various programming languages, allowing someone who views the solution to compare the solution to the programming problem.
Each programming language has its own page, which contains a list of programming problems that have solutions in that programming language. For example, a task that has a solution in the C programming language will appear in the listing for the C programming language, and if the same task has a solution in the Ruby programming language, the task will also appear in the listing for the Ruby programming language.
Languages.
Some programming languages that are listed on Rosetta Code are:
A list of all programming languages that have solutions to programming problems on Rosetta Code is available.
Tasks.
Some tasks that are listed on Rosetta Code are: