On Sun, Sep 1, 2013 at 12:36 AM, Vartolomei Nicolae
<nvartolo...@gmail.com>wrote:

> > personally Ithink it would be nice if we could provide a way for
> const/function autoloading.
> So you will create files for constants? One file with a single line
> defining a constant?
>
> Did I understood something wrong?
>
>
yes, you did.
I never mentioned that I would use this feature, nor that I would put one
constant in a file if I would.
I suppose those who use it would use namespaces(either native namespaces or
some prefix/suffix in the name which their autoloader understands) to group
the functions/constants and when a const/func is referenced from a
namespace include the file which contains all of the funcs/consts from that
namespace.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

Reply via email to