We have a class on compilers at my university, but it's on the 4rd year. Creating a compiler/interpreter when you are just starting programming would be a big challenge.
@dovyski: it's nice to see this coming from a brazilian university -- I'm from UFABC, São Paulo
Brazilian post codes map to [segments of] streets, with the format XXXXX-XXX. The API response for a brazilian post code is just "404", invalid if the application was expecting JSON.
Great job. Can you add support for foreign cities with special characters? I tried "São Paulo, Brazil" and the encoding on the "success message" was wrong.
That's a good point, even the reference article states that, in some cases, a semicolon is necessary (in the begin of the line). If it's necessary reason about use it on some cases (and mistakes will happen), why not use it on every line?
The guide doesn't have anything about brackets and spacing on function calls (maybe because it's dropping the language).
This blog has also been discussed in a few other threads:
https://news.ycombinator.com/item?id=23908171
https://news.ycombinator.com/item?id=29215383
https://news.ycombinator.com/item?id=35708339