rmccue
12p9 comments posted · 0 followers · following 0
3 weeks ago @ Pre-Thought Listen - Explicit versus Implic... · 1 reply · +1 points
Forgetting to include the prefix gives immediate results: nothing happens. Forgetting to specify nohook, on the other hand, can give weird bugs which might not be readily apparent.
In addition, if you are writing "filter_x", you'd be looking at the source to see whether it's an action or a filter anyway, so I don't see that as a problem.
It's the opposite of a magical convention, specifically because you are writing exactly what you want filtered.
3 weeks ago @ Pre-Thought Listen - Explicit versus Implic... · 0 replies · +1 points
As I said, I'm not against magic, but I think it should be explicit.
Regarding prefixing with `action_` or `filter_`, what problems do you forsee regarding that?
3 weeks ago @ Pre-Thought Listen - Explicit versus Implic... · 0 replies · +1 points
77 weeks ago @ Pre-Thought Listen - On the lack of posting... · 0 replies · +1 points
94 weeks ago @ Reddit Australia Compe... - (Late) ANZAC Event · 0 replies · +1 points
94 weeks ago @ Reddit Australia Compe... - (Late) ANZAC Event · 0 replies · +1 points
94 weeks ago @ Reddit Australia Compe... - Test Match · 0 replies · +1 points
94 weeks ago @ Reddit Australia Compe... - Test Match · 2 replies · +1 points
143 weeks ago @ Dented Reality - Fully Automattic · 3 replies · +1 points
Experiment