Extension:Example says
The Example extension is an example of how to use Extension:BoilerPlate to create an extension implementing some common extension features
but it's slightly out-of-sync with BoilerPlate. E.g Siebrand updated BoilerPlate to use __DIR__ instead of $dir, but Example remains old-school. That might be the only unintended difference.