Re: [Phphtmllib-devel] Getting picky on push()
Status: Beta
Brought to you by:
hemna
From: Walter A. B. I. <wab...@bu...> - 2002-06-07 04:29:44
|
> At the risk of sounding pedantic, I feel the need to question the > rightness of the name 'push' as a tag's append method. > > Even though the doco explains that tags work as FIFOs, the word 'push' > still has a stack and LIFO connotation. > > How about calling it 'add' instead? Perhaps supporting 'add' and 'push' > as synonyms, then deprecating 'push' at some stage? > > Also, 'add' is one character shorter, and to some may be more > self-explanatory than 'push'. ---you just want to make more work for me don't ya? :) What do other folks think about this? It would require a bit of work to add add(), since some classes have specialized push() implementations (TABLEtag, TRtag, etc.) Walt |