I'm in the middle of drafting the PDD on coding conventions,
and in the bit on naming things, I've run into the Perl 5 stuff
that does

#define foo Perl_foo

etc.

Its not clear to me whether this is for backwards compatibility or for
convenience (or for something even more fiendish related to per thread
objects etc). So my question is: in Perl 6 we clearly want externally
linked functions and variables to have a unique prefix, but do we also
want shorter aliases, either in core or elsewhere?

My instinct is to say no, at the risk of making all the perl internals
slightly more verbose.

For that matter, we could insist that all macros and public structs
typedefs etc have a standard prefix too. This happily avoids all
possible clashes with system and other header files, but would involve
an awful lot more typing :-(

Opinions, anyone ?

Dave.

Reply via email to