Monica Shiralkar wrote:Java script
However I have never seen that being done in any code.
Monica Shiralkar wrote:... programming language can do everything that can be done by any programming language ...
Monica Shiralkar wrote:So does it mean that every programming language can do everything that can be done by any programming language
but we have different languages because in some language some task can be done easily where as in other language some other task can be done easily?
salvin francis wrote:There is a difference between a programming language and a scripting language.
From my own understanding, a scripting language requires a host program and uses the exposed objects from that program to do something. e.g. A client side java script runs within the browser program and is allowed to manipulate the browser dom objects on the fly. It cannot do something outside that territory (e.g. reading files/database/etc...)
In a way, I feel that a scripting language is quite restricted to what it can do and is dependent on its 'host'.
Stephan van Hulst wrote:Eh, I find the difference very trivial or arbitrary in most cases.