View Single Post
Old 12-18-2008, 07:07 PM   #13 (permalink)
masfenix
The Contributor
 
Join Date: Mar 2008
Posts: 31
Thanks: 1
masfenix is on a distinguished road
Default

I primarily code in .net so I know the difference however I was just stating a point.

I know that php is interpreted, but the way I've gotten accustomed to it that you can write programs in web development (ie, php). Although its scripting, you are writing a program. A program is a set of instructions. Those instructions can be interpreted or compiled. Eventually, every program must be translated into a machine language that the computer can understand. This translation is performed by compilers, interpreters, and assemblers.

I am not arguing here, but I am just saying while php is a scripting language (like i mentioned in my previous post), it could be considered a programming language. Infact all scripting languages can be considered programming languages.



Forgot to mention that .net also uses interpreting. So while it gets compiled into MSIL, it is still interpreted. So you wouldnt call c# a scripting language now would you

so again, like I said, PHP is a scripting language because of the reason you specified, however it COULD be considered a programming language, depending on how you define a program.
masfenix is offline  
Reply With Quote