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

前端 未结 20 2018
南旧
南旧 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条回答
  •  -上瘾入骨i
    2020-12-04 15:11

    Taking perl as an example, you can write perl scripts or perl applications.

    A script would imply a single file or a single namespace. (e.g. updateFile.pl).

    An application would be something made up of a collection of files or namespaces/classes (e.g. an OO-designed perl application with many .pm module files).

提交回复
热议问题