揀一隻script用

如果比你揀一隻script, 你會揀邊隻?

power shell
node.js
python
lua
其他更好選擇


提議前先利申一下自己用過邊隻
如果係我搞錯, 以上某隻唔適合當script用, 都可以提出

本來script相關, server果邊可能比較適合
但考慮到程式佬涉獵會廣過server佬, 所以就係度問了

我覺得睇你要做d咩野, 如果普通disk operating,   vbscript 應該ok,  如果office 軟件,vbscript or vba 都得。  我只是或只能手用vbs or vba 系公司

TOP

The choice of your script should depends on your purpose.
If you are working on machine learning etc, you'll go for python.
If you purpose is text munging, I'll go for perl.
If it's highly web related, you may go for node.js.

There isn't really big difference for each language, but the ecosystem like modules could be highly different. Say I would not use node.js to do system admin. I would not pick powershell if I want to be portable with Linux.

TOP

如果比你揀一隻script, 你會揀邊隻?

power shell
node.js
python
lua
其他更好選擇


提議前先利申一下自 ...
3ldk 發表於 2018-3-28 17:59



    depends on what ecology you are in
Windows --> PowerShell
Linux --> Ruby/Python

Usage:
Machine Learning/ Mathematics/Data scraping: Python
Rapid Development: Ruby

TOP

睇你形容,應該係做 server 管理用。如大部份都係 Windows Server ,兼 08 或以上,最好用 PowerShell (03 機 PowerShell 只可用 v2)

TOP

睇你形容,應該係做 server 管理用。如大部份都係 Windows Server ,兼 08 或以上,最好用 PowerShell (03 ...
燒浩 發表於 2018-3-29 10:41



其實應該相反, 睇我形容, 應該係唔會睇到有任何方向
因為我特登唔指明os, 又唔指明用途, 就係想係一個汎用既層面上作討論
所以選擇一隻os專用的, 個方向其實已經錯左

當然將來遇到某一個情況, 用某一個script會特別明顯有優勢既時候, 自然會選用果一款
但係無任何指定既情況下選一隻打底的話, 觀點就應該轉為, 邊一隻會另上述優勢降到最低

TOP

唔指明用途/OS 有點不設實際.
你提及的 power shell / node.js /python / lua, 佢地的創造者當初都係因為有指定目的而創造佢地. 定位都唔係萬能俠.



其實應該相反, 睇我形容, 應該係唔會睇到有任何方向
因為我特登唔指明os, 又唔指明用途, 就係想係一個汎 ...
3ldk 發表於 2018-3-29 23:33

TOP

其實應該相反, 睇我形容, 應該係唔會睇到有任何方向
因為我特登唔指明os, 又唔指明用途, 就係想係一個汎 ...
3ldk 發表於 2018-3-29 23:33



    ruby

TOP