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,191 tasks, 394 draft tasks, and is aware of 875 languages, though we do not (and cannot) have solutions to every task in every language.

Places to start[edit]

Recently-Updated Tasks[edit]

 
DNS query
Pick random element
Longest common subsequence
15 puzzle game
Canonicalize CIDR
Compile-time calculation
Penney's game
Factors of an integer
Conditional structures
Pascal's triangle
Hailstone sequence
String length
Get system command output
FTP
Feigenbaum constant calculation
more...

Ways to Contribute[edit]

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