[Phpslash-devel] OOP & php programming style
Brought to you by:
joestewart,
nhruby
From: Joe S. <jo...@be...> - 2002-03-15 15:59:41
|
List discussion is kind of slow, so... With my small understanding of OOP concepts, I'm trying to relate the use to php. Should we always return object variables from outside the object via a method? Use: $object->getVariable('variable'); or is using $object->variable OK? In general, since php is an interpreted language I try to keep function calls down, even if it means a little duplicated code. Joe |