Domain: veekun.com
Stories and comments across the archive that link to veekun.com.
Comments · 56
-
Re:You shouldn't. Nobody should.
This blog article explains it quite well and in a fair amount of depth. I started doing web programming in PHP and used it a fair amount (up until the early PHP 5 days); I've since done some web programming in Python (using the Django framework) and it is so, so, so much easier and cleaner and consistent. PHP is just an awful language that arguably beats out Javascript for poor language design and inconsistency.
-
Lack of fork/exec under Windows
you are already using a programming language which is surely more capable than a stupid POSIX shell! (If not, you REALLY need to switch languages.)
Which is exactly the point: one needs to switch languages because according to the "fractal of bad design" essay all PHP has is a counterpart to system(), not a counterpart to exec*() or spawn*(): "There is, as far as I can tell, no way to safely spawn a process. You can ONLY execute a string via the shell." This goes double for Windows, where pcntl_*() is not implemented and escapeshellcmd and escapeshellarg have completely incorrect behavior. Even under Linux and FreeBSD, --enable-pcntl is turned off by default; PHP must be recompiled to turn it on.
-
PHP: a fractal of bad design
PHP: a fractal of bad design (obligatory).
-
Re:Training wheels without the bike
This has been mentioned already in this thread, but if you have not read it you really need to. Also be sure to wade through the comments:
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
-
Re:And
> No licensing
Wrong> stable
This news post is proof that's wrong.> great track record
Wrong.> flexable
About as flexible as your spelling.> modules for everything
This is true. AND THEYRE ALL PART OF THE CORE API! ImageMagick, MySQL (THREE TIMES!), Curl, etc .. all in the core API.PHP is a fucking disgrace and a blight on the world and needs to die a fiery death.
(Spend a few minutes reading the url I linked above at veekun.com for a wonderful break won on why PHP is a heinous pile of horseshit.)
-
Re:Zuckerberg == rich idiot
PHP is a crappy, inconsistent, flaky language that actively encourages the writing of bad, fragile code. That being the case, facebook has done pretty well in only having had a few serious issues.