Hi,

On Thu, Jul 26, 2012 at 3:37 PM, Bart Visscher <ba...@thisnet.nl> wrote:

> On Wed, Jul 25, 2012 at 06:33:06PM +0200, Arthur Schiwon wrote:
> > A follow up on this.
> >
> > The suggestion was actually to use \OCA_appid\ as namespace, what i
> > did was to support the pattern \OCA\appid\ in the autoloader.
> >
> > The first pattern is e.g. used in the app files_version
> >
> > namespace OCA_Versions;
> > class Hooks { .. }
> >
> > Having two different approaches is of course bad style and should be
> > avoided. Frank and I wonder now, what the better and more intuitive
> > way is: \OCA_appid\ or \OCA\appid\
> >
> > Thoughts, opinions?
>
> \OCA\appid\ cleaner and simpler to parse
>
> Bart
>
>
\OCA\appid\ is actually a nested namespace, but I agree that it is cleaner.

--
Victor
_______________________________________________
Owncloud mailing list
Owncloud@kde.org
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to