TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-06-2009, 05:09 AM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default Worst programming language

I was surfing StackOverflow.com, and I happen to come across this question someone had answered:
http://stackoverflow.com/questions/9...ed-with-closed

What would be the worst programming language, well I happen to see the first entry would be PHP with 143 "ups"

Quote:
* Inconsistent function names and argument orders
o Because there are a zillion functions, each one of which seems to use a different naming convention and argument order. "Lets see... is it foo_bar or foobar or fooBar... and is it needle, haystack or haystack, needle?" The PHP string functions are a perfect example of this. Half of them use str_foo and the other half use strfoo.
* Non-standard date format characters
o Take j for example
+ In UNIX (which, by the way, is what everyone else uses as a guide for date string formats) %j returns the day of the year with leading zeros.
+ In PHP's date function j returns the day of the month without leading zeros.
* Still No Support for Apache 2.0 MPM
o It's not recommended.
o Why isn't this supported? "When you make the underlying framework more complex by not having completely separate execution threads, completely separate memory segments and a strong sandbox for each request to play in, feet of clay are introduced into PHP's system." Link So... it's not supported 'cause it makes things harder? 'Cause only the things that are easy are worth doing right? (To be fair, as Emil H pointed out, this is generally attributed to bad 3rd-party libs not being thread-safe, whereas the core of PHP is.)
* No native Unicode support
o Native Unicode support is slated for PHP6
o I'm sure glad that we haven't lived in a global environment where we might have need to speak to people in other languages for the past, oh 18 years. Oh wait. (To be fair, the fact that everything doesn't use Unicode in this day and age really annoys me. My point is I shouldn't have to do any extra work to make Unicode happen. This isn't only a PHP problem.)
In the past, I've read many complaints about PHP, stating it had no Namespace ( which is in 5.3.0 now... ) support for one matter, and the most is the first question which I've grown use to, and I can remember a ton of the functions right off the back, just because of this so called inconsistency, as for arguments, well needle and haystack argument names seem to only reside in the string library.

As for the second question, I have not used Unix so I have no idea


For the third question, what is Apache 2.0 MPM?

And the last he answers it himself...



So what's the deal with all the hate of PHP? Or is this just a matter of trolling, which in this case, related topics aren't trolling...
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Oriented Programming DizzyD General 2 02-25-2009 03:43 AM
If a programming language was a boat… Wildhoney The Lounge 9 04-05-2008 07:24 AM
Did I choose the wrong language? karq The Lounge 18 01-28-2008 05:04 AM
12 common programming mistakes to avoid sunilbhatia79 General 0 11-16-2007 05:59 PM
What language are you coming from? AlEast General 19 07-24-2005 08:53 PM


All times are GMT. The time now is 03:30 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design