View Poll Results: How do you implement properties?
- 41. You may not vote on this poll
Java style: getFoo(), setFoo($value)
Obj-C style: foo(), setFoo($value)
Php's magic methods: __get() and __set()
No getters/setters, just plain old properties
Results 51 to 51 of 51
Thread: How do you implement properties?
Aug 29, 2007, 15:30 #51
- Join Date
- Jan 2005
- 0 Post(s)
- 0 Thread(s)
However, what we got to worry about are the people who don't respect this (and there will always be those people). And sure, we can think, screw them, they're digging themselves a whole, it doesn't affect me. And most likely, you are right. But it will effect someone who has to come along and manage that codebase, and it would be quite a twist if that was you.