This is one of those "damned if you do, damned if you don't" things. It ends up being personal preference. Personally, I prefer:
ZonkAbstract ZonkInterface ZonkTrait Some prefer: AbstractZonk ZonkInterface ZonkTrait Ultimately, I don't care. It would take me 2 seconds to learn and remember whichever pattern is chosen. And, quite frankly, there are more important things to worry about. :-) -D On Feb 2, 2012, at 3:58 PM, Pádraic Brady wrote: >> Suffixing there and prefixing here doesn't improve readability whatsoever. > > There's no need to be absolutist - several people have already stated > it improves readability for them. > > Paddy > > On Thu, Feb 2, 2012 at 8:51 PM, Andreas Möller <a...@softe.is> wrote: >>> I'd argue that's unreadable. :) >>> >>> I understand the consistency argument, but I also am a proponent of >>> natural language constructs in programming, as I feel they make code >>> easier to read and understand. I'm okay with a little inconsistency if >>> it enables readability. >> >> But does it? >> >> >> You may have a long list of files in a directory where at the >> beginning you could have >> >> AbstractZonk.php >> >> and after a number of files >> >> ZonkInterface.php >> ZonkTrait.php >> >> Also, think about auto-completion in IDEs. >> >> Suffixing there and prefixing here doesn't improve readability whatsoever. >> >> >> Andreas >> >> -- >> List: zf-contribut...@lists.zend.com >> Info: http://framework.zend.com/archives >> Unsubscribe: zf-contributors-unsubscr...@lists.zend.com >> >> > > > > -- > Pádraic Brady > > http://blog.astrumfutura.com > http://www.survivethedeepend.com > Zend Framework Community Review Team > > -- > List: zf-contribut...@lists.zend.com > Info: http://framework.zend.com/archives > Unsubscribe: zf-contributors-unsubscr...@lists.zend.com > > -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com