Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
With shell scripts and some simple tools, you can do an a mazing amount of build automation.
As an example, in college, my robotics club had entire software applications that you could build and run on with one shell commands. If you had the parent repository, you run the shell script, and the dependencies get cloned the GitHub, all of them get built, the binaries get put in the right places, and the application is ready to run. The software developers could just hand a Git repository to the Mechanical engineers, and the mechanical engineers use a single shell command to be able to run the latest build of the robot control UI. All because a few people knew a little shell scripting.
Python can do that. Node.js can do that. A binary can do that.
Why learn a shell scripting language? (Especially an old one, with no structured data types)
And you're right, Python or JS can work better than bash for automatic builds. It's kind of like knowing assembly or HTML. If you know a few really basic things, it can be really useful in a few select cases, but most of the time there may be better tools. And if you're like me, you also just get a kick out of playing with low level stuff.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why tho?
proficiency on the shell lets you do things much more quickly. Here's an example using my current fav, fish shell:
And now you have a set of web-app-manifest icons with minimal effort.
More than that, though, I believe that learning to get comfortable on a CLI/REPL helps you to "think like a programmer"
What if, instead, one does this:
🤔🤔🤔
For specific APIs see the imagemagick docs
Please don't be naughty.
It's a mistake in your example and is already fixed in my second comment.
With shell scripts and some simple tools, you can do an a mazing amount of build automation.
As an example, in college, my robotics club had entire software applications that you could build and run on with one shell commands. If you had the parent repository, you run the shell script, and the dependencies get cloned the GitHub, all of them get built, the binaries get put in the right places, and the application is ready to run. The software developers could just hand a Git repository to the Mechanical engineers, and the mechanical engineers use a single shell command to be able to run the latest build of the robot control UI. All because a few people knew a little shell scripting.
Python can do that. Node.js can do that. A binary can do that.
Why learn a shell scripting language? (Especially an old one, with no structured data types)
Because you're giving stuff to mechanical engineers, and they don't have a Javascript engine or a Python interpreter installed.
And I guess they have to have a bash-compatible shell installed, but their architecture isn't definitely
x86_64
?And you're right, Python or JS can work better than bash for automatic builds. It's kind of like knowing assembly or HTML. If you know a few really basic things, it can be really useful in a few select cases, but most of the time there may be better tools. And if you're like me, you also just get a kick out of playing with low level stuff.