FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Top 10 Wrong Ideas About PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Top 10 Wrong Ideas About PHP [message #175215 is a reply to message #175214] Fri, 26 August 2011 19:42 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Thomas 'PointedEars' Lahn wrote:
> Hello all,
>
> having become a subscriber of PHP Classes recently, I have learned of an
> article that attempts to clarify certain misconceptions people might have
> about PHP (some of which have already been discussed here), that you might
> find interesting, too. The author's "Top 10 Wrong Ideas About PHP" are:
>
> 1. PHP is not a compiled language (it is interpreted)
>

That's pure sophistry, since it compiles at run time. Whether or not
that makes it slower or faster than an interpreted language depends on
what code is being excecuted.


> 2. PHP cannot do X (access memory, control hardware devices,
> or some unusual purpose)
>
Which they get around by saying 'but php extensnions can!'

That's a bit like saying that 'with additional software and hardware,
and Apple II can send a rocket to the moon'

> 3. PHP cannot do something that can be done in language X
>
Which is true. No language can do exactly what another language can do,
although in terms of computers being (almost) infinite capacity Turing
engyns its fair to say that any algorithm that can be written in one
language can be written in another, it just gets very ugly sometimes.



> 4. PHP is only for Web development

That's where its strengths play to, yes.

You can write an accounting suite in Assembler, too, but most prefer not to.


>
> 5. PHP is controlled by only one company (Zend)
>
Largely true historically.

> 6. PHP documentation is bad or insufficient
>

That I will agree with. I've not fond much wrong in the documentation.

> 7. PHP projects are not reusable because they are not Object Oriented
>
99.9999% f all reusable code is not object orieneted. This is a straw man.

> 8. PHP is worse than Ruby On Rails, Python Django, X language Framework
>
Id say it was better.

> 9. PHP is not good for high performance scalable Web sites or applications
>
Probably mostly true, if by high performance you mean using it as is,
and not compiled to C++ in the way the article describes it.

At some point you have to distinguish between PHP the language, and PHP
the runtime environment. I am sure one could write (and it seems
someone has) - a PHP complier to say - C++. There are BASIC compliers, too.



> 10. PHP developers are cheaper because they are not qualified
>

Who can tell what qualification means anyway? I could easily set up a
training school, and give people phoney bits of paper... as one regular
poster here tried to do...


> See <http://www.phpclasses.org/blog/post/155-Top-10-Wrong-Ideas-About-PHP-
> That-You-Should-Get-Right.html> for details.
>
>
> Regards,
>
> PointedEars
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHPUnit: set up fixture in database tests
Next Topic: mktime 2-digit vs 4-digit year
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 20 01:23:08 GMT 2024

Total time taken to generate the page: 0.05350 seconds