+ 4
what is the meaning of scripting language and programming language ? why Python is preferred instead of php ?
3 ответов
+ 2
scripting language is meant to be executed as a part of some other application apart from being executed as standalone application. some uses of scripting languages are writing addons or defining client side behavior of web pages. as for python vs php, i find python richer in features and php more adapted for the web, but that's just personal opinion, someone else should point out some objective differences since i do not spend a lot of time using neither of them.
0
Scripting languages are the ones you can type out, save with a certain extension and run. They can control the behavior of a webpage (i.e. JavaScript), manipulate files (batch), etc.
Programs, on the other hand, need to be written AND compiled. Generally using libraries, headers, classes, etc to easily add or remove functionality. In the end, compiling the program also has the added benefit of hiding your code so nobody can steal it when proprietary use may be an issue of concern.
- 1
fuck