Re: [RFC] Enum proposal (yet another)
Hi!
One note here: Java is a statically typed compiled language. PHP is not. So many arguments regarding type safety, etc. which are completely valid in regards to Java have no validity in regard to PHP. I understand that some people want to import some bits from strictly typed languages, imagining that this will provide them with benefits that statically typed languages have, namely compile-time safety checks, etc. This does not work as well in dynamic languages. Note for example that neither Ruby nor Python have enums, though you can do similar things there.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
Thread (70 messages)