2013/8/30 Stas Malyshev <smalys...@sugarcrm.com> > Hi! > > > Well, static methods aren't the same as functions. > > The big difference being? >
A function is stateless [1], a method isn't. A function operates only on the passed parameters [1], the method operates on the parameters and the context it inherits from the instance (non-static), or class (static and non-static). [1] Beside IO and "global variables"-hacks > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > -- github.com/KingCrunch