In 2020, five kinds of programming language will die!




来源 | 码农网
译者 | 小峰

Once upon a time, almost everyone is using the Perl programming language. But those who regularly use slowly found on the Perl language always seems a bit wrong. At least I know there is such a called a "piecemeal" programming language, its creator seems to be just another feature this function piled on top of it, and did not properly consider them together.

Perl

Once upon a time, almost everyone is using the Perl programming language. But those who regularly use slowly found on the Perl language always seems a bit wrong. At least I know there is such a called a "piecemeal" programming language, its creator seems to be just another feature this function piled on top of it, and did not properly consider them together.

In fact, even its creators have to admit that this programming language is problematic. After a complete renovation, and now we start development work tend to use Perl6, this probably in 2000, when. As Perl? It seems to have disappeared! So there is no need to learn it. Incidentally, the following "Goodbye World" is written in Perl:

#!/usr/bin/perlprint “Content-type: text/html\n\n”;print “Goodbye, world!\n”;

The above example will come out a web page. Now Perl, since as a CGI scripting language, so the most widely used web page is generated on. But in order to adapt to changing times, we will be better Perl language "abandoned as Bilv."

Ruby

About Ruby, so to sing "Ten years later, I do not know you, you do not belong to me ......." Because just 10 years ago, Ruby language can be described as the rage. It was born in 1995, about five years to reach its peak. If you often use the words, it will definitely not hesitate to fall in love with it. However, those of us learn C language style children who grow up in learning Ruby tend to feel a little embarrassed.

The following is written in Ruby "Goodbye World":

puts ‘Bye bye, Miss American Ruby! Drove my Chevy to the Levie…’puts ’2011 was the day that Ruby died, yeah…’

The following is an example of a calculation for a factorial:

def fact(n)  if n == 0    1  else    n * fact(n-1)  endendputs fact(ARGV[0].to_i)

I tested this example, to calculate the factorial of 1000. Here are the results (due to space constraints, the middle skipped 2569 numbers):

ruby fact.rb 100040238726007709377354370243392300…0000000

By all accounts, Ruby is very good, almost a sound of praise ...... besides Twitter. In April 2011, Twitter announced that they have most of the code have been rewritten almost over, and so it does not have to use Ruby web framework --Ruby on Rails, according to them this platform is very inefficient. However, I want to say is, it is also that day, Ruby began to decline, the number of users is also less and less.

Visual Basic.NET

Ten years ago, I accepted the position of a need to rewrite a lot of code the company, whose name I have forgotten, the main work is to convert VB6 Visual basic.NET. Probably only done a couple of months, and I would jump ship: really too painful.

Microsoft love to extend the BASIC programming language can be traced back all the way to 1991, when they had just purchased a very cool from Alan Cooper's (for that time) visual programming design. Alan Cooper initial use is another programming language, but Bill Gates let him into the BASIC language, because Gates thought it was the most simple programming language. Ever since, the famous Visual Basic, it is derived from BASIC out - the object of the concept as well as new technologies come out of programming.

Behind and some very interesting things happened. Borland Delphi creative leader, Anders Hejlsberg also to work for Microsoft, and lead created a new programming language --C #. This programming language is very similar to the Java language. Learning the beginning of perhaps a bit difficult, but once started, you definitely will love it. C # quickly became the flagship of Microsoft's programming language. Now, then, in the software industry, there are many, many jobs require C #, and many of them are well-paid employment.

While running for their CLR, Microsoft created C #, but its engineers have also created a BASIC language version of a beloved Gates, named Visual Basic.NET. The programming language BASIC language syntax borrowed, but its coding method was similar to C #. Although Visual Basic.NET is also developing, but the survival of the fittest always inevitable - we chose C #, Visual Basic.NET then became a thing of the past.

The following is an excerpt from the Microsoft Visual Basic.NET program section of the page:

‘ Allow easy reference to the System namespace classes.Imports System‘ This module houses the application’s entry point.Public Module modmain   ‘ Main is the application’s entry point.   Sub Main()     ‘ Write text to the console.     Console.WriteLine (“Hello World using Visual Basic!”)   End SubEnd Module

Here the "Hello World" can be replaced with "Goodbye World", this does not matter.

Adobe Flash sum AIR

Technically, these are the platform, rather than a programming language. The reason I include them because if you want to use them, you must install Adobe's own version of ECMAScript, ie ActionScript. ActionScript is (one of the most popular programming language, because it can be used for all browsers) JavaScript is a close relative. ActionScript in ECMAScript (JavaScript to achieve this standard is the official name) added some details; but in addition to Adobe Flash, ActionScript other places of almost useless.

You do not use Flash? Jobs hated it, and will not allow iPhone use it. Then with the increasing popularity of iPhone (and subsequent iPad) is, Web developers have to create without relying on Flash web site. Those living in ActionScript developers have had to be laid off. (I have seen a Flash developer accused another JavaScript developers to ruin his career.)

Adobe AIR also tried to order a chance of obtaining the programming platform, so with the construction of a tool for building AIR app, called Flex. As for AIR, many people say, this is a disaster. However, we currently do not know why Adobe will launch AIR, may want to replace Flash with AIR? You may want to AIR and Flash to love each other for common development?

I remember one time, thanks to the Twitter platform --TweetDeck (requires the user to the AIR runtime installed on your computer) use, AIR was very prosperous for a while. Then probably millions of pc AIR applications have been developed, but later, after Twitter in 2011 bought TweetDeck, and rewrite the code to replace the local AIR. Ever since, AIR brilliant stop here.

With the gradual passing of Flash and AIR, Adobe's ActionScript began to kiss the world. Here is some sample code written in ActionScript.

package {import flash.display.*;import flash.text.*;public class HelloWorld extends Sprite {   private var greeting:TextField = new TextField();public function HelloWorld() {     greeting.text = “Hello World!”;     greeting.x = 100;     greeting.y = 100;     addChild(greeting);   } }}

You may find that it is very similar to JavaScript, use var, function and new, and also use a decimal point to access the member variables.

Delphi’s Object Pascal

First of all I have to have good partners in Delphi I apologize, because I had to announce Object Pascal's "death." well, Delphi (Pascal tools for hair Object) after the change over, still linger (which originated in the Borland company, is now holding the Embarcadero's thighs).

Earlier Delphi's Object Pascal language and it does provide us with a good working environment: Although a bit long-winded, but the compiler quickly, and compared to Visual Basic (here refers to the pre-Visual Basic.NET, around 1995) , create Windows programs easier.

But it has the advantage did not last. It is difficult to say what the reason is, because this really is a good platform. At this point, Borland Delphi company began its product line to support C # and C ++. Developed later, Borland Delphi company even sold directly to the Embarcadero, and then continue to use Embarcadero's Delphi product development. Saying that it has done quite well, but the focus is no longer a Pascal. Of course, you can still use the Pascal programming, but few people go this way. In fact, we can use Delphi to establish a number of different platforms, including iOS, Android, and Linux operating systems.

However, if you go to Embarcadero's Web site to see, you will find them mainly in the promotion of Delphi's C ++ support. So, in other words, Object Pascal already gone. I write to you, I can not help but grief from the heart, because I spent a lot of time to learn the Pascal language, especially Delphi's Object Pascal. But no way, the reality is so cruel, not a career change can only starve to death.

See below Object Pascal code:

program HelloWorld;begin    writeln(‘You say goodbye.’)

Translator's Note: The above opinion on a personal point of view, please press the order Tucao polite.

So it would "perish" There are five languages ​​you are good at it?

原文链接:
http://http//insights.dice.com/2014/10/09/5-programming-languages-marked-for-death/uages-marked-for-death/

Recommended Reading 

down trend resumption of work, telecommuting technology companies can only "sit still" do?

US group a decade, the world's largest takeaway how to support the delivery of one-stop machine-learning platform is to Make?

Tencent combined ACNet mention fine-grained classification, the effect is up to the latest SOTA | CVPR 2020

My favorite cloud IDE recommendation!

advanced features Solidity written contract of intelligence

return E staff to return to work readme: back to work, Wuhan, Hefei fly first, then go back and pick chartered by the company

You look at every point, I seriously as a favorite

Released 1830 original articles · won praise 40000 + · Views 16,540,000 +

Guess you like

Origin blog.csdn.net/csdnnews/article/details/104890427