Your arguments about "decent IDEs" are spurious. I should not need an IDE
in order to read and understand what the code is doing, particularly when
_reviewing_ code. I also should not need to alias a majority of classes I
import in order to disambiguate them. A namespace should primarily exist to
prevent naming collisions; the class name still needs to semantically
qualify what it defines.

As for the argument about entity classes, I disagree. Entity classes do not
need the "Entity" verbiage, because unlike a form, input filter, factory,
etc., the name **does** semantically qualify the class by itself.
On Apr 20, 2014 10:44 AM, "Andreas Möller" <notifications@github.com> wrote:

> In config/module.config.php:
>
> > @@ -10,6 +10,60 @@
> >              'zfcuser' => 'ZfcUser\Controller\UserController',
> >          ),
> >      ),
> > +
> > +    'form_elements' => [
> > +        'factories' => [
> > +            'ZFcUser\Form\Element\IdentityElement'  => 'ZfcUser\Factory\Form\Element\IdentityElementFactory',
> > +
> > +            'ZfcUser\Form\ChangeEmailForm'          => 'ZfcUser\Factory\Form\ChangeEmailFormFactory',
>
> @grizzm0 <https://github.com/grizzm0>
>
> And the naming convention for factories is ClassItReturns+Factory. If you
> don't have an IDE that appends folder name on non-unique files (PHPStorm
> does this) it can be a real mess to work with.
>
> If you're not using a decent IDE, why are you using a non-decent IDE?
>
> @Ocramius <https://github.com/Ocramius>
>
> With a decent IDE, the argument becomes invalid.
>
> Again, what's the point of suffixing a class with what's already part of
> the namespace?
>
> @grizzm0 <https://github.com/grizzm0>
>
> Also, no - it's not a *user*, it's an abstraction of it. Following the
> convention, it should be named Entity\UserEntity - which is as ridiculous
> as Form\LoginForm or InputFilter\ChangeEmailInputFilter.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ZF-Commons/ZfcUser/pull/445/files#r11798095>
> .
>