4 ms·
The benefit of filters is that they don’t share the namespace with the template context and I would argue are more readable.
by the_mitsuhiko 2y ago
The benefit of filters is that they don’t share the namespace with the template context and I would argue are more readable.
- murkt 2y agoNot sharing the same namespace is a benefit, I agree. Not a huge one, as I don’t name my variables “map”, “string” and similar anyway. And would not look favorably if any of my employees did that.