On 27/11/13 09:36, Tom Oram wrote:
Since writing the original message I've been looking at golang and found
that they have a := operation to infer type which is very similar to what I
proposed.
I'd like to try and start some discussion about this again as I think it
would be very useful and really open up the possibility of having objects
for primitive types.
I'm not sure I understand the utility here. PHP has a dynamic typing system. The utility of := in languages like Go is that it allows you to avoid making a type declaration. But PHP does not have them anyway, so there it isn't useful in that case.
--
Andrea Faulds
http://ajf.me/