Created
August 17, 2012 07:57
-
-
Save notomato/3376843 to your computer and use it in GitHub Desktop.
Fat filters are bad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// FAT FILTERS == BAD | |
// Try to make filters do one thing, not like this... | |
Dispatcher::applyFilter(run, function($self, $params, $chain) { | |
// Herp | |
// Derp | |
// Herp | |
// Derp | |
// Herp | |
// Derp | |
// Herp | |
// Derp | |
// Herp | |
// Derp | |
// Herp (repeat x100) | |
}); | |
// http://www.slideshare.net/nateabele/the-state-of-lithium |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment