When I want to play around with a new language I start by trying to make a Pig Latin translator and I try to build it using Test Driven Development.
Regardless of the language, the journey is pretty much the same:
This project is an attempt to document that process for as many languages as possible.
It assumes you are on a Mac.
Here are the rules for translating words from English to Pig Latin:
Here are the tests we will use to help us build out the Pig Latin translator:
appleshould translate to
orangeshould translate to
computershould translate to
codingshould translate to
programmingshould translate to
stringshould translate to
Appleshould translate to
Computershould translate to
Programmingshould translate to
Stringshould translate to
The language with the most progress is Ruby but the following are also available: