With PHP 6, lets start with a:
Pure
Object
Oriented
PHP
...idea, and extend it out, so we can have a:
Structured
Heuristic
Idealistic
Taxonomy
..so we reduce user confusion, and eliminate the vast majority of our
userbase, (thus cutting down on bug reports, of course) so we can
have a:
Heuristic
Accessible
Readable
Available
Helpful
...language advance.
(This is not meant as a serious post, but as a post to increase levity
on this list. Your mileage may vary. Cape does not enable the wearer
to fly.)
-Ronabop
I'll start off by saying that I am, personally, a great fan of OO. Pure OO languages have always tickled me just right.
But I question the idea that making something pure OO makes it better. And in PHP, it wouldn't be a mere revamp of the OOP system like php5 did, it would fundamentally change the language. It wouldn't be PHP anymore. Also, it'd be slow. Very slow. There's no real way to keep PHP's model and go the route you're talking without turning the language into a vegetable.
And that's okay. Because PHP isn't a one-size-fits-all tool. It's a web language, and it excels at being a web language. Why can't we just keep it that way, and use the tool appropriate for the job at hand? I wish we could stop trying to make PHP everything to everyone and just accept that sometimes java is the answer. Or python. Or ruby. Or any other language or technology that fits.
Making PHP 100% OO won't make it better at web development. In fact, I'd argue it'd do the opposite, as a once simple language would now inherit not just the features that go with a pure OO language, but also the same considerations one has to make when dealing with such a language. Moreover, a change like this would result in one of two outcomes: PHP follows through with a solid, feature-complete OO language specification (unlikely) and thus loses the flexibility of being a dirty little dynamically typed language that cares little for enforcing type constraints, or, much more likely, we get a half assed solution because PHP wouldn't be PHP without that flexibility, and it's largely incompatible with a true OO architecture.
Just my $0.02
With PHP 6, lets start with a:
Pure
Object
Oriented
PHP...idea, and extend it out, so we can have a:
Structured
Heuristic
Idealistic
Taxonomy..so we reduce user confusion, and eliminate the vast majority of our
userbase, (thus cutting down on bug reports, of course) so we can
have a:
Heuristic
Accessible
Readable
Available
Helpful
...language advance.(This is not meant as a serious post, but as a post to increase levity
on this list. Your mileage may vary. Cape does not enable the wearer
to fly.)-Ronabop
I will also note that my phone cut off the part about this post not being serious.
I, however, have no sense of humor.
With PHP 6, lets start with a:
Pure
Object
Oriented
PHP...idea, and extend it out, so we can have a:
Structured
Heuristic
Idealistic
Taxonomy..so we reduce user confusion, and eliminate the vast majority of our
userbase, (thus cutting down on bug reports, of course) so we can
have a:
Heuristic
Accessible
Readable
Available
Helpful
...language advance.(This is not meant as a serious post, but as a post to increase levity
on this list. Your mileage may vary. Cape does not enable the wearer
to fly.)-Ronabop
Now that we have Traits, lets bring in Aspects too!
http://en.wikipedia.org/wiki/Aspect-oriented_programming
Also, PHP is not necessarily evil by allowing non-OO code, but maybe we
could do better at the non-OO code side of things by adding prototyped
inheritance in a javascript-ish spirit to at least promote code reuse to
those non-OO heretics.
Yeah, this would definitely work laughs incontrollably
I will also note that my phone cut off the part about this post not being
serious.I, however, have no sense of humor.
With PHP 6, lets start with a:
Pure
Object
Oriented
PHP...idea, and extend it out, so we can have a:
Structured
Heuristic
Idealistic
Taxonomy..so we reduce user confusion, and eliminate the vast majority of our
userbase, (thus cutting down on bug reports, of course) so we can
have a:
Heuristic
Accessible
Readable
Available
Helpful
...language advance.(This is not meant as a serious post, but as a post to increase levity
on this list. Your mileage may vary. Cape does not enable the wearer
to fly.)-Ronabop
Our syntax is very, very confusing for newbies. Also, procedural and OOP
programming is unnatural and unintuitive. We should use the natural LISP
braces syntax and make PHP functional, so it is much easier to write, e.g.:
((decl (main (echo (add (reverse (array (1 2 3))) (string ('h 'e 'l 'l 'o
'\ 'w 'o 'r 'l 'd '\n)))) (phpinfo))))
With PHP 6, lets start with a:
Pure
Object
Oriented
PHP...idea, and extend it out, so we can have a:
Structured
Heuristic
Idealistic
Taxonomy..so we reduce user confusion, and eliminate the vast majority of our
userbase, (thus cutting down on bug reports, of course) so we can
have a:
Heuristic
Accessible
Readable
Available
Helpful
...language advance.(This is not meant as a serious post, but as a post to increase levity
on this list. Your mileage may vary. Cape does not enable the wearer
to fly.)-Ronabop
On Thu, Jul 19, 2012 at 4:40 AM, Andrew Faulds ajfweb@googlemail.comwrote:
Our syntax is very, very confusing for newbies. Also, procedural and OOP
programming is unnatural and unintuitive. We should use the natural LISP
braces syntax and make PHP functional, so it is much easier to write, e.g.:((decl (main (echo (add (reverse (array (1 2 3))) (string ('h 'e 'l 'l 'o
'\ 'w 'o 'r 'l 'd '\n)))) (phpinfo))))With PHP 6, lets start with a:
Pure
Object
Oriented
PHP...idea, and extend it out, so we can have a:
Structured
Heuristic
Idealistic
Taxonomy..so we reduce user confusion, and eliminate the vast majority of our
userbase, (thus cutting down on bug reports, of course) so we can
have a:
Heuristic
Accessible
Readable
Available
Helpful
...language advance.
I get that the first two acronyms are POOP and SHIT; however, the third
one, HARAH, is throwing me off. Is that a fecal reference in some other
language or something?
--Kris
I get that the first two acronyms are POOP and SHIT; however, the third one,
HARAH, is throwing me off. Is that a fecal reference in some other language
or something?
http://www.youswear.com/index.asp?language=Hebrew
I thought about making an acronym for "PAAMAYIM NEKUDOTAYIM", just
for the giggles, but decided it was way too much work, and might be
even more obtuse.
-Ronabop
I get that the first two acronyms are POOP and SHIT; however, the third
one,
HARAH, is throwing me off. Is that a fecal reference in some other
language
or something?http://www.youswear.com/index.asp?language=Hebrew
I thought about making an acronym for "PAAMAYIM NEKUDOTAYIM", just
for the giggles, but decided it was way too much work, and might be
even more obtuse.-Ronabop
Lol ironically, that one I would've got!
Ok, let's see what I can come-up with on the fly....
Paramedics
Ate
Arnold's
Mouse
And
Yanked
It
Malevolently
Nerds
Electrocuted
Kittens
Until
David
Ostracized
Them
And
Yanked
It
Malevolently
I'll leave it to your imagination what "It" is lol. ;P
--Kris
With PHP 6, lets start with a:
Pure
Object
Oriented
PHP
OMG, did you seriously just recommend POOP? LOL, I'm gonna go die now.
-- Dante
D. Dante Lorenso
dante@lorenso.com
972-333-4139