From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.5
PHP Bug Type:     Feature/Change Request
Bug description:  True Dynamic Binding and Public/Private

Ok Folks.  I am really happy with PHP thus far.  However to make it a true Object 
Oriented Language you absolutly need Dynamic binding.  This would be such a huge boon 
for us developers who love to work within classes.  Such as:

// Inside the class Circle

function DrawMe() {
    // Getting Ceter Coords..
    DrawMe($centX, $centY);
}

function DrawMe($x, $y) {
    // Draws the circle at $x, $y
}

// End of code demo

This kind of ability can be extremely huge, if you use it right.  Also, it allows for 
developers to make a module extremely flexiable and powerful.

Secondly, I think that we are missing public and private sections of the OOP world.  
In the above example, I would have the functions public, and the data structures 
inside of it totally hidden (or private) so the programmer who is using my include 
just has to deal with the interface, and can't touch the actual data.  That is 
strength and beauty of encapsulation.

I just thought you may want to hear this, and I am hoping to hear from you guys (and 
gals) that you are hard at work to implement it and it is coming soon.

Thanks for reading my rant!!

Mike Eggleston
AmeriGroup
[EMAIL PROTECTED]


-- 
Edit Bug report at: http://bugs.php.net/?id=11567&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to