the Rosetta Code

Rosetta Code

The idea is to present solutions to the same task in as many different languages as possible. Rosetta Code currently has 264 tasks, and covers 128 languages. A variety of tasks are listed, and visitors to this site are invited to solve the tasks in the language of their choice. The tasks cover everything from the mundane Empty Program to the esoteric Towers of Hanoi.

for example the Monty Hall simulation
explained in wikipedia

No comments: