Hacker News new | ask | show | jobs
by zacmps 1327 days ago
Yes, scripting languages all support both:

* A repl for performing common operations (moving around the file system, running programs, etc),

* A interpreted environment for scripting these operations.

The main reason to use these instead of Python/Rust is the ease of interfacing with other programs.

In Python, and most other non-scripting languages, spawning and interacting with external processes is quite verbose.

1 comments

It's verbose in Rust too; error handling; various types ways to handle the program's stdout/stderr etc.