Jake McGraw wrote:
Tim:
You're not to fault, and the point about Java collections Vs array()
is pretty good, unfortunately, I never made it that far because I was
completely turned off by the "article", the exact text Tim was
referring to:
James Anderson wrote: The really simple answer is that after the
release of php 5, php became the better language. Just one example --
collections; php has one all purpose collection type which is an
array/hash/stack or queue depending on how you choose to use it, and,
as you can store any object or another array in the array it handles
any type of tree. Java on the other hand has:- ArrayList,
AttributeList, BeanContextSupport, CopyOnWriteArrayList,
CopyOnWriteArraySet, DelayQueue, EnumSet, HashSet, LinkedHashSet,
LinkedList, PriorityQueue, RoleList, RoleUnresolvedList, Stack,
TreeSet, Vector etc. etc. and this is only from the official
"java.util....." there are thousands of other "collection" classes out
there. Nearly of the functionality provided by this mass of classes is
available in php's 'Array()' type. And php does it faster!
This more or less sums up my entire purpose in using PHP. And the
philosophy behind that leads to numerous other features that makes it
easier.
- jake
On Jan 2, 2008 12:26 PM, Tim Gales <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Jake McGraw wrote:
> Pure flame-bait and total non-article
sorry, I thought the part about Java's
multitudinous specialty "collection" classes
versus using an 'Array()' type which is
simpler and faster was a valid point --
my mistake.
--
T. Gales & Associates
'Helping People Connect with Technology'
http://www.tgaconnect.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
<http://lists.nyphp.org/mailman/listinfo/talk>
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
------------------------------------------------------------------------
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
--
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com www.andromeda-project.org
631-689-7200 Fax: 631-689-0527
cell: 631-379-0010
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php