By limitedwarranty
via phpaddiction.com
Published: Dec 03 2007 / 13:50
Most compiled languages that I have used have some kind of container implementation, Lists, Maps, Trees, Stacks and all their many variations. PHP has arrays and the SPL.
This post is more of a question than anything else, are there disadvantages that I can't see to having a standard container library for PHP?
Comments
dzonelurker replied ago:
YAGNI
limitedwarranty replied ago:
Thats helpful... just that YAGNI?
jawngee replied ago:
He's right though, you aren't going to need it (YAGNI). The array in PHP is a map/hash/stack.
dzonelurker replied ago:
Thanks, just what I wanted to say. KISS. Keep PHP simple and stupid. Don't try to imitate the C++/Java/C# bloatware.
limitedwarranty replied ago:
Ahhh... I guess I should have been clearer, I was neither for or against a container library I was curious if one existed, not so much for a user code implementation but a PECL or other native extension and couldn't find one. Thanks all.
Voters For This Link (5)
Voters Against This Link (5)