Re: Why is polymorphism in PHP not like other languages? Is there a bug in PHP? [message #185057 is a reply to message #185051] |
Tue, 25 February 2014 05:00 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 2/24/2014 10:25 PM, Thomas 'PointedEars' Lahn wrote:
> Robert Heller wrote:
>
>> Note a compiled language (like C++ or Java) need up-front knowledge about
>> things, while *intrepreted* languages defer resolving things until
>> runtime. Partitularly with languages where classes can be defined 'on the
>> fly'.
>
> Note: PHP source code is compiled to bytecode, as is code in many other
> programming languages.
>
> Get rid of the common misconception of “compiled language” vs. “interpreted
> language”, and stop spreading this nonsense.
>
> The relevant difference here, if any, is between static and dynamic
> type-checking. (Get rid of “loosely typed” vs. “strictly typed” as well.)
>
>
> PointedEars
>
Bytecode is not the same as machine code. And interpreting on the fly
is not the same as compiling once.
But we also know you don't understand the difference - which is why you
claim they are the same.
And we also know you're just being your usual pedantic self.
--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
|
|
|