On Thu, Nov 21, 2013 at 11:39 PM, // ravi <[email protected]> wrote:
> > Is Node.JS suitable for these things? > > > > Sure, JavaScript is a capable and feature-rich *high-level* language. > NodeJS provides decent access to OS facilities, and NPM is a reliable > source of additional functionality (even if it is no CPAN, or not yet > CPAN). But I’d say, stepping strictly into personal opinion or preference > territory, JavaScript (or Python for that matter) will never be as > comfortable for sys-admin tasks as Perl. If having to carry the cognitive > load of thorough-going async for inherently synchronous activities does not > tax you, then the lack of Perl’s terse and intuitive (for a Unix-head) > syntax for things like file test (-f, -l, etc), pipes (“|”), regular > expressions, program execution (``), etc, might. Even if they do, it might > be a small price to pay *if* the rest of your code is JavaScript/NodeJS. > I absolutely 100% concur. I've written things that are very "sysadmin scripting" like in Node and realistically they would have been far neater in Perl. It's just better designed for that kind of thing. Having said that, if you don't know Perl, the sigils ($/@/% in front of all the variables) and special variables will look really annoying. Matt. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
