If programmers are soldiers, each language is what kind of weapon? -IT information
PHP 3 is a chainsaw
This is dedicated to soldiers of the Web app one of the first weapons (even in the "Web SPP" before the term became popular). Can complete the work, but it looks very messy, fortunately now there are better choices. (PHP 3 syntax would be a nightmare, and makes it difficult to maintain the code. PHP version seems to have improved after).
Perl is a soldier commissioned killer
Elegant, powerful, and can quickly make the target (in particular if the text file) to remain silent. Must be maintained good relationship with the killer the command, otherwise you may find it difficult to grasp the weapon. (Perl is both powerful and flexible, but, syntax and semantics make it difficult to grasp and make it difficult to read and hard to maintain code. Just like assassin, subtle but effective).
Python is the tank
Has a very good defense, solid, guaranteed crushes your problems. If you are a beginner, can usually come to aim and shoot (if trained). If you are an expert, you can deploy in an orderly manner to conquer the terrain. However, while it is so effective, but it's also slow. You can select the super soldier waving a Samurai sword C-Extensions (see below) support, slow to address any potential problems.
JavaScript is the fighter's missile
JavaScript takes a while to become a missile. Originally it was a bomb, will only lead to annoying and big mud splash, but years of work (especially V8 released, there is a huge community and some very nice frames, can be regarded as a truly great fighter technology) has made it a missile, it can provide an absolute energy to quickly finish the job, if you do not require the elegance of words.
Java is a bullet
Means from a single gun (JVM) launch. However, the gun manufacturer produced a different gun, so unfortunately it is now similar to the appearance of bullets also have slight variations. Anyway, work is still very effective.
Scala was in Naruto and "perhaps" capacity. Allows you to create your own avatar and completely overwhelm the enemy.
ActionScript 2 is the Trebuchet
Give people an illusion it is very easy to use, looks very attractive, but slow-moving and hit targets more slowly. If you have a better option, so why use it?
Objective-c has no strength lightsaber
Somewhat similar to c, but it seems a little more style, and some additional features. Your opponent may think you look stupid or really cool (if you have Xcode and access all of the development tools, it is likely to be the latter).
C ++ is a shield sword
Shields (OOP/RAII features, templates, and so on) can help you ward off danger, if wisely used, it will be heavy and cumbersome. You can choose to give up a shield, sword and increase sprinting speed (because c ++ is a superset of c), but experienced soldiers know how to handle both sprints.
C is a Samurai sword
Deadly sharp, to reward professionals beyond the reality of power. But beware, if you're in a room full of other Samurai sword training, you may accidentally scratch. (With the help of c language compiler closest to the Assembly, and most potential to execute code. But novice soldiers might accidentally release the pointer).
Assembly is your own body
If you are Bruce Lee or Superman, then you only need it OK. However, unless you were born with superhuman powers in another planet, or hone your body and mind to achieve the use of force have been perfect, if not you need to use the weapon (compiler/interpreter).
Swift is a powerful lightsaber
You can deflect the blast now, move objects without touching them, scare the enemy directly and awe. But the extra power is brought to the temptations of the dark side (compared with objective-c, Swift brings more freedom and power, but increased flexibility may lead to understanding and maintaining code).
Go Star Trek phase gun
Futuristic, stylish and small, without too many frills to get the job done. In order to beat the more experienced enemy, now you may need to use another weapon (Go are still excluded, and are developing community and support base, in order to become the weapon of choice, even though it seems to happen very quickly). Jean Luc Picard (Google), charming and able leadership, you can be sure it will Jolt, will soon have more than "stun" and "kill" (the great libraries, tools, support, and so on) setting.
Ruby is a Halo Ghost in the machine
When it hit the target is met, and distributed power, but sometimes painfully slow maneuvers. (There are many attractive features about Ruby, but the biggest criticism is that when building a large scale, it did not match the performance of some other alternative options).
Bash carries the hidden cargo transport aircraft
Is mainly for those who need to transport soldiers other soldiers or weapons. In case of an emergency, you can put down the hidden goods, destroying some harm, but in most cases, for deploying and remote viewing (Bash is a great adhesive, but also by virtue of their ability based on a programming language. However, it is best to do some light work, leave the hard work to some other languages).
(The above pictures from IT information sorting)
如果
程序员是士兵,每种语言都是哪种武器? - IT资讯
PHP 3是电锯
这是面向致力于web app的士兵的第一批武器之一(甚至在“web spp”这个名词变得流行之前)。可以完成工作,但看起来很杂乱,幸运的是现在有更好的选择。(PHP 3的语法可能是噩梦,并导致很难维护代码。之后的PHP版本似乎已经改进了)。
Perl是战士委托的杀手
优雅,强大,能够快速让目标(特别是如果文本文件的话)保持缄默。一定要与这个杀手的命令保持良好的关系,否者你可能会发现难以掌握这个武器。(Perl既强大又灵活,但是语法和语义使之难以掌握,并导致难以读取和难以维护代码。就像刺客,隐蔽但有效)。
Python是坦克
有着很好的防护,坚实,保证粉碎你的问题。如果你是一个初学者,通常也可以来瞄准和射击(只要稍微训练一下)。如果你是一个专家,你就可以有条不紊地部署来征服地形。然而,尽管它是如此有效,但它也是缓慢的。你可以选择在挥舞武士刀的超级战士即C-扩展(见下文)的支持下,解决任何潜在的缓慢问题。
JavaScript是战斗机的导弹
JavaScript花了一段时间才成为导弹。它最初是一个炸弹,只会导致恼人和巨大的泥浆喷溅,但多年的时间(特别是公布V8,有了巨大的社区和一些非常好的框架,也可以当作是真正棒的战斗机技术)已经让它变成了一个导弹,它可以提供了绝对的能量来快速完成工作,如果不要求优雅的话。
Java是子弹
意味着要从单支枪(JVM)中发射。然而,枪支制造商制作了不同的枪,因此不幸的是现在相似外观的子弹也有了轻微的变异。不管怎么说,完成工作还是很有效的。
Scala是从火影忍者中的“影分身术”能力。允许你创建自己的分身,并完全压倒你的敌人。
ActionScript 2是抛石机
给人一种它很容易使用的幻觉,看起来很有吸引力,但是移动缓慢,并且击中目标更慢。如果你有更好的选择,那么为什么要使用它呢?
Objective-C是没有力量的光剑
有几分类似于C,但似乎更有一点风格,和一些额外的功能。你的敌人可能会认为你看起来很傻或真的很酷(如果你有Xcode并访问所有的开发工具,那么很有可能是后者)。
C ++是带盾牌的剑
盾牌(OOP / RAII功能,模板等)可以稍微帮助你抵御危险,但如果不能明智使用的话,它就会变得笨重和成为累赘。你可以选择放弃盾牌,只用剑,增加冲刺速度(因为C ++是C的超集),但有经验的士兵知道如何携带两者冲刺。
C是武士刀
致命而锋利,能够奖励专业人士超越现实的权力。但要注意,如果你在一个满是其他武士刀的房间里训练的话,你可能会意外划伤。(C语言在编译器的帮助下最接近程序集,并且对执行代码最有潜力。但是注意初学者士兵可能会意外释放指针)。
Assembly是你自己的身体
如果你是李小龙或超人,那么你只需要它就OK了。但是,除非你出生在另一个拥有超人能力的星球上,或者已经将你的身体和心灵磨练达到武力完美的境地,否者你就需要使用武器(编译器/解释器)。
Swift是有力量的光剑
你现在可以偏转爆破,移动对象,而不触摸它们,直接吓唬敌人投降和敬畏。但是额外的力量带来了黑暗面的诱惑(与Objective-C相比,Swift带来了更多的自由和能力,但是增加的灵活性有可能导致难以理解和维护的代码)。
Go是星际迷航的相位枪
未来派,时尚又最小型,没有太多的虚饰来完成工作。为了打倒那些更有经验的敌人,现在你可能需要使用另一个武器(因为Go仍然在被排挤,并正在开发社区和支持基地,以便于成为被选择的武器,尽管这似乎发生得很快)。有了Jean Luc Picard(Google)魅力和能干的领导,你可以确定它将重拳出击,很快就会有超出“打晕”和“杀死”(伟大的库,工具,支持等)的设置。
Ruby是Halo中的幽灵机
当它击中目标的时候非常满足,并散发力量,但有时会痛苦地缓慢的机动飞行。(关于Ruby有很多吸引人的特点,但最大的批评是,当建立大的规模时,它还没有匹配一些其他替代选项的性能)。
Bash是携带一些隐藏货物的运输飞机
主要是面向于那些需要运输其他士兵或武器的士兵。在紧急情况下,你可以放下隐藏的货物,破坏一些伤害,但在大多数情况下,用于部署和远程观察(Bash是伟大的粘合剂,也是凭借自身能力立足的一种编程语言。但是它最好是做一些轻便工作,留下重活给一些其他语言)。
(以上图片均由IT资讯整理)