|
|
|
|
|
by scary-size
677 days ago
|
|
> I learned a lot about JavaScript (and Node.js) by writing shell scripts in Node.js. Totally! This will give you lot of insights into low-level working of JS. Of course, some Node.js specifics too. Reading from STDIN, parsing strings into structured data etc. |
|
I find it a lifesaver for the common occasion when I’m tempted to write a bash script but also know it’s going to need some slightly more advanced features (as in parsing a JSON, or just arrays that are not totally bonkers in syntax).