Name the Fish

This episode is just for fun

Thai Pangsakulyanont
Code, Applied to Life
3 min readAug 15, 2014

--

So I saw this post being shared on Facebook.

Even though I know almost nothing about fish, I can name lots of them. This wikipedia page lists common fish names, so first let’s import it into the irb.

By inspecting that page on the browser, the fish names are the links inside the list in a four-column layout, so let’s get the fish names.

Finally, let’s reject the fish with ‘a’ in it.

Hmmm… That was easy!

--

--

Thai Pangsakulyanont
Code, Applied to Life

(@dtinth) A software engineer and frontend enthusiast. A Christian. A JavaScript musician. A Ruby and Vim lover.