Where is the var/generation folder in Magento 2.2.0?

Published Sunday, October 15, 2017

I noticed a change in Magento 2.2.0. The var/generation folder is nowhere to be found.
Turns out that the Magento team moved it out of the var folder for security reasons.

It's now under the root folder, and the name is changed to "generated".