Press "Enter" to skip to content

Tag: exercise

A Tour of Go: Web Crawler

After playing with Go a couple of days I managed to finish the tour. Actually I learned a bit more reading related articles and linked pages. I really recommend the experience as an initial attempt to understand go.

As a last exercise you are requested to program a simple web crawler. Find the code at the end of this post (I will not be much longer).
After a couple of hours tinkering and recalling all the knowledge from the language I managed to complete the exercise. Many things of this new language to interiorize.

No big conclusions yet about Go, but what I’m pretty sure is how good it enforces recursion and concurrency in programs…

Try this code on the Go Playground