3 ms·
We (2-person team doing embedded QT app on linux) did it the exact way you're arguing for - starting with shell, struggling with it for several months every tim
by ajuc 6y ago
We (2-person team doing embedded QT app on linux) did it the exact way you're arguing for - starting with shell, struggling with it for several months every time something went wrong or we had to change it, and finally giving up and rewriting it in python.
Python wasn't our main language (the app was in C++ and QML which is basically java script). But we both knew Python and it's the easiest language for these sort of things that we both knew and that comes with the system.
My main conclussion is - I'm starting with python the next time.
Life's too short to check for the number of arguments in each function.
- verall 6y agoI think there is a big difference between this and the parent. If you are working on projects where the "primary language" is Ruby or Python or Elixr than sure, use that, but if your project's primary language is C++, like most embedded applications, you do NOT want to use that. Any complex or cross-platform C++ projects will need a scripting language in addition to shell and a build system.
- chubot 6y agoLife's too short to check for the number of arguments in each function. Ha! The Oil shell does that for you :) https://www.oilshell.org/release/0.8.0/doc/idioms.html#use-procs-better-shell-functions https://www.oilshell.org/release/0.8.0/doc/idioms.html#use-p... (It's our upgrade path from bash)