Python和/或Perl VS庆典 [英] Python and/or Perl VS bash

查看:179
本文介绍了Python和/或Perl VS庆典的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常美元的Python C $Ç管理脚本,我知道许多人是在Perl code他们。我正要投资一些时间提高在bash编程我的技能。但我不知道周围的人认为这是一个好主意?

I normally code admin scripts in Python and I know of many that code them in Perl. I was about to invest some time on improving my skills on bash programming. But I wonder if people around think that this is a good idea ?

我知道的bash是个好技能有与市场往往需要它,但是,如果我与Python或Perl然后得到通过......是不是真的值得的?

I know bash is a good skill to have and market very often demand it but ... if I can get by with Python or Perl then ... is it really worth the effort ?

随着答案我要找情况下,实际上是bash的方式比Perl和Python更好的开发管理脚本。

As answers I am looking for cases where actually bash is way better than Perl or Python to develop admin scripts.

推荐答案

任何你学习只能使你受益,的从不的是一个坏主意,学到一些东西。也就是说,如果你觉得你的生产与Python话,我不明白为什么你需要的是bash。 Python是更强大的(是一个完全成熟的编程语言)和国际海事组织有一个更好,更可读的语法。击的的往往是快速和肮脏的脚本编写很有用,但。

Anything you learn can only benefit you, never is it a bad idea to learn something. That said, if you feel you're productive with Python then I don't see why you would need bash. Python is more powerful (being a full blown programming language) and IMO has a nicer, more readable syntax. Bash is often useful for quick and dirty scripting, though.

如果你决定去学习它,这里有一些资源,让你开始:

If you do decide to learn it, here are some resources to get you started:


  1. 一个bash指南初学者

  2. 宏伟猛砸FAQ

  3. 常见的Bash缺陷

  1. A Bash guide for beginners
  2. The magnificent Bash FAQ
  3. Common Bash Pitfalls

虽然一些规则经验法则在关于什么时候应该使用每个空气偶尔抛出,我想你会看着办吧,一旦你了解所有选项。在你的军火库另一个工具始终是一个优势。

Although some rules-of-thumb are occasionally thrown in the air regarding when you should use each, I think you'll figure it out once you get to know all of your options. Having another tool in your arsenal is always an advantage.

这篇关于Python和/或Perl VS庆典的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆