[pLog-svn] Some programming questions?

howard chen howachen at gmail.com
Sat Mar 1 09:52:14 EST 2008


Hello,

Some questions concerning the programming styles used in LT:

1. For all the DAO classes, in fact, why not use static for speed, e.g.

$users = new Users();
$users->doSomething();

why not:

Users::doSomething();

So there will be no need to invoke the object creation every time, for
speed, for simplicity, for reuse!


Thanks.

Howard


More information about the pLog-svn mailing list