Rosetta Code

From Rosetta Code

Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible, to demonstrate how languages are similar and different, and to aid a person with a grounding in one approach to a problem in learning another. Rosetta Code currently has 1,275 tasks, 401 draft tasks, and is aware of 946 languages, though we do not (and cannot) have solutions to every task in every language.

Places to start

Recently-Updated Tasks

 
Euler's constant 0.5772...
Scope modifiers
Scope/Function names and labels
JSON pointer
Hex dump
Exceptions
N-queens problem
Sorting algorithms/Permutation sort
Selectively replace multiple instances of a character within a string
Determine if a string is numeric
Levenshtein distance
ABC problem
Hello world/Text
Towers of Hanoi
Taxicab numbers
more...

Ways to Contribute

 
Village Pump/Suggest a programming task
Village Pump/Suggest a language
Add a Language
Add a Task
Adding a new programming example
Examples needing attention
Unimplemented tasks by language