On Mon, Sep 26, 2011 at 10:05 AM, Henrik Ingo <[email protected]> wrote:
> namespaces?
>
> What should we use for namespaces for plugin code? I took example from
> a plugin that is recent and written by a Drizzle authority figure:
> json_server. It uses this:

Hi,

> namespace drizzle_plugin
> {
> namespace json_server
> {

This was used in the past.

> You use this:
> namespace drizzled {
> namespace plugin {

Most of the core code now uses this form. See also
http://wiki.drizzle.org/Coding_Standards#Namespaces_2

> And other modules use some other variations, there is no standard as
> far as I can see. Should there be a standard? (FWIW, if I had just
> picked something myself, I would have used
> namespace plugin { namespace plugin_name {
> )

Olaf

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to