If I remember my Apache config right, the two examples are switched. The 2.4 config should be 'Require all denied' and the 'Order deny,allow' the old 2.2 syntax.
I just rechecked with [1] and you seem to be right.
I'll update the blogpost in a second. Thanks for the hint!