Why PHP sucks.
- No lambda functions/subroutines.
- == vs. ===
- 5 bazillion functions imported by default in top level Namespace
- The lanugage comunity is esentialy the VB6/JavaScript community -- Well at least JavaScript has clean semantics.
In other words php is not the market we want to go after.
I'm just saying that php is not a good model to base a language off of, except for ease of configuration.
Okay, I'll bite.
If you're going to flame, at least get your facts right.
No love,
James (who much prefers Perl)
I am just saying that php is not a good language to knock features off of, other than ease of configuration. also php is hard to do securly versus perl, no "?" in sql.
PHP 5.3+ supports lambda/anon functions.
As of ease of configuration, I disagree. Sometimes it's hard for different PHP apps to use different php.ini (well it depends on the type of server configuration), and php.ini is still required because not all configuration can be set by ini_set().
Plus you still have to undo magic_quotes to avoid hairpulling. Plus turn off register_globals if by default still on. And others.
I find Perl CGI's easier to configure, with local::lib and all.