I especially like "Don't Comment with..." part. Each of the points 🙂
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
This Hackers Den – Matze's Hackerstübchen
Software. Electronics. Personal Rants.
I especially like "Don't Comment with..." part. Each of the points 🙂
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
there are a few errors in there, but what i find interesting is that he correctly predicts that PHP lovers don't understand why it's a problem. yes, many individual items may have a justifiable reason, but put together all those justifiable reasons create a mess.
it's also why PHP became, and has since remained, so damn popular.
I'm not particularly familiar with PHP, however the arguments he lines up in "Don't Comment with ..." are universal, not limited to PHP or any particular language. Just recently I had to argue about using Qt for a project and encountered all the same arguments in favor of a "C" approach using libevent2, expat, curl, mysql and some other famous names instead of Qt, which would have done the job just fine. Some people rather spend time writing wrappers over wrappers in C than being productive, happily cultivating their "good programmer" facade.
Uugggggh.
Yes, there are many similarities between PHP and C like that. It's a kind of Stockholm syndrome imho: you spend so much time learning its oddnesses and subjecting yourself to its madness, that you grow fond of it and feel awkward with anything else. 😛
.. and since you mentioned mysql, it's the same story there all over again. "LAMP" was one of the best and worst things to happen for Linux in the 90s.
C has an excuse for being a torture machine - it is as old as the time itself. PHP is a /modern/ language :]
... As old as the time();
I never understood how come no one has designed a better language for building large websites.
After playing a bit with wordpress and its messy php loop, I badly want to remove all of it (and mysql too) and just generate a static website from document templates...