language-specific

Is a Foreach loop a type of block?

In thinking about blocks, I've always wondered why the thingers.each { |thing| example is actually interesting (since there's another, built-in way to do it). In most modern languages there's a way to iterate through a collection and apply some inline code to it. But then I thought that maybe the for (Thing thing : things) { syntax is...