[development] when we run out of characters
kb at 2bits.com
Thu May 18 19:19:27 UTC 2006
On 5/18/06, Richard Morse <remorse at partners.org> wrote:
> On May 17, 2006, at 7:20 PM, Jeremy Epstein wrote:
> > I have another suggestion - and this time it's a serious one. How
> > about changing it so that we literally put the word 'hook' into all
> > hook implementations?
> > So whereas now we have: function user_menu()
> > Instead we would have function user_hook_menu()
> I like this idea. Extent code should be able to be fixed
> programatically (we have a finite list of hooks), and this method is
> self-documenting; it makes it clear which functions are hooks and
> which aren't.
I also +1 this idea which is better than mine (disallow underscore
in module names).
They are different solution though, one requires no work at all, and
imposing the restriction in cvslog/project modules.
The other requires changes to Drupal core as well as contrib (perhaps
Depends on how severe we think this problem is, and whether it
warrants change now ...
More information about the development