当前位置 博文首页 > 关于COBOL的简短介绍_cuk0051的博客:cobol

    关于COBOL的简短介绍_cuk0051的博客:cobol

    作者:[db:作者] 时间:2021-09-09 16:45

    cobol

    COBOL is one of those languages you keep hearing about, one of the remains of the past.

    COBOL是您不断听到的那些语言之一,也是过去的遗留之一。

    Turns out it’s the language that makes the world go around, in particular in banks and financial institutions. I read somewhere that over 70% of business transactions are made through programs written in COBOL.

    事实证明,这是使世界运转的语言,尤其是在银行和金融机构中。 我在某处读到,超过70%的业务交易是通过用COBOL编写的程序进行的。

    There are various reasons for that. First, the language was designed for that use case.

    有多种原因。 首先,该语言是为该用例设计的。

    After all, it’s called COmmon Business-Oriented Language.

    毕竟,它被称为COmmon商业导向语言。

    Kind of boring, for a name. But it goes straight to the point.

    一种无聊的名字。 但这直达重点。

    Another reason is that it’s old. Designed in 1959, it’s been used from the start to make those systems, and no one is going to change those programs that run fine.

    另一个原因是它很旧。 它于1959年设计,从一开始就用于制造这些系统,没有人会更改那些运行良好的程序。

    Those programs are so important that they are just being maintained and improved, but never rewritten from scratch.

    这些程序是如此重要,以至于它们只是被维护和改进,而从未从头开始重写。

    Anyway, you can read about the history of COBOL on Wikipedia. The goal here is to make a quick introduction to the language, so the next time you hear COBOL, you know what it looks like.

    无论如何,您可以在Wikipedia上了解有关COBOL的历史。 这里的目标是快速介绍该语言,因此,下次您听到COBOL时,就会知道它的外观。

    安装GNU COBOL编译器 (Install the GNU COBOL compiler)

    Install gnu-cobol.

    安装gnu-cobol

    On a Mac, use Homebrew:

    在Mac上,使用Homebrew :

    brew install gnu-cobol
    cs