3 ms·
> but yet keeps the compiletime/runtime distinction Could you elaborate on that? I don't see what you mean. Interestingly, Python usually also gets compiled-
by eru 16y ago
> but yet keeps the compiletime/runtime distinction
Could you elaborate on that? I don't see what you mean.
Interestingly, Python usually also gets compiled---though the target language (Python's byte code) is still very dynamic.
- troels 16y agoI meant semantically, not literally. PHP has a class based object model that is basically copied from Java. One of the more absurd results of this transplantation is that in PHP, classes can implement static interfaces. This is useful in Java, to imbue some flexibility into the otherwise very rigid static typing, but in PHP it's utterly backwards. As an aside, PHP gets compiled into opcode before interpretation, but the two processes are usually not separated. This is true for most interpreted languages actually.