I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.
HipHop VM: now at 98.5% PHP framework parity, 16% faster
31–40 of 112 posts
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#32I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.
Ahh yes, take the most criticized aspect of Java -- the obscene verbosity -- and cram it into PHP. Sounds wonderful.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#33Earlier quoted context omitted.
Ahh yes, take the most criticized aspect of Java -- the obscene verbosity -- and cram it into PHP. Sounds wonderful.
I'll take a long function name over an incomprehensible one any day.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#34Earlier quoted context omitted.
Ahh yes, take the most criticized aspect of Java -- the obscene verbosity -- and cram it into PHP. Sounds wonderful.
I'll take a long function name over an incomprehensible one any day.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#35I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.
Ahh yes, take the most criticized aspect of Java -- the obscene verbosity -- and cram it into PHP. Sounds wonderful.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#36I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.
Basically, if you use PHP you're part of the largest computer joke in history.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#37Hmmm Laravel at 100%. This is now getting interesting!
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#38I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.
The problem is speed and compatibility. If you did it natively you'd have to do it twice, once for HHVM and once for the Zend engine. If you did it in pure PHP it would cause performance issues since the interpreter isn't smart enough to inline (maybe HHVM is, but even it will take a trace or two to realize the JIT need probably).
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#39Earlier quoted context omitted.
Poor choice of function names are the easiest of problems to fix. Write an internal base framework that you use and strongly discourage the use of functions outside of it. Even if the new set of APIs are as simple as just forwarding the call to the standard PHP one with reversed arguments, using one example people complain about all the time. This isn't hard to do, doesn't require a lot of upfront work (add APIs as y…
PHP has so many more problems than that, though. I don't think it's worth the effort. It'd be like replacing the rotting floorboards of a house that has mold spores in every corner and a caved-in roof.
Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster
#40I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.