Re: Re: no offense to Rasmus... are you kidding me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, April 19, 2006 9:42 am, Matt Todd wrote:
> Honestly, I'd love to see basic variables be objects, as models of
> real world data with properties for the data such as a $number->length
> or $word->as_array() giving you letters.

I think you might want to consider using Common Lisp, then.

Cuz pretty much everyting in Common Lisp is an Object.

'Course, it's even WAY older than PHP, so you won't, but there it is.

I am curious to know what you think this should do:

$number = 5;
echo $number->length;

Exactly what is the length of a number?

Is 5 longer than 4?

How about -5?

Is that the same length as 5?

Sheesh!

Let me know when Web 2.0 is actually released.  Until then: SHUT UP!

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux