Re: Re: no offense to Rasmus... are you kidding me
| From: | Richard Lynch | Date: | Thu, 20 Apr 2006 07:18:24 +0000 |
| Subject: | Re: Re: no offense to Rasmus... are you kidding me | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234329@lists.php.net to get a copy of this message | ||
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