What's the difference between a “script” and an “application”?

前端 未结 20 2039
南旧
南旧 2020-12-04 14:53

I\'m referring to distinctions such as in this answer:

...bash isn\'t for writing applications it\'s for, well, scripting. So sure, your application m

20条回答
  •  粉色の甜心
    2020-12-04 15:16

    What about:

    Script:

    A script is text file (or collection of text files) of programming statements written in a language which allows individual statements written in it to be interpreted to machine executable code directly before each is executed and with the intention of this occurring.

    Application:

    An application is any computer program whose primary functionality involves providing service to a human Actor.

    A script-based program written in a scripting language can therefore, theoretically, have its textual statements altered while the script is being executed (at great risk of , of course). The analogous situation for compiled programs is flipping bits in memory.

    Any takers? :)

提交回复
热议问题