程序猿学英语-指令式编程

IMPERATIVE PROGRAMMING(命令式、指令式编程)

看手册的同时学一下英语,还挺不错的!

原文:

Imperative programming

Imperative programming is a programming paradigm that describes computation in terms of statements that changes the state of the machine. For example, the statement x = x +1 changes the state of the memory location of x by adding 1 to the existing value of x.

Procedural programming describes an imperative programming model where a program consists of one or more procedures, each of which contains statements that changes the state of the program.

Imperative programming indicates that programming language constructs are fairly close to the machine. The earliest imperative languages were the machine languages that were used to program computers.

Machines languages were hard to code and debug. Over time, high level languages were developed to make the programming process easier. For high level languages, compilers had to be developed so that it takes high level code and translate into machine code that can be executed directly on machines hardware.

All programs must eventually be executed at the machine level. Many other paradigms such as object oriented programming and functional programming were developed to make the programming process more structured and correct. However, all programs must eventually be converted into machine instructions.

参考生词:

Imperative programming:命令式编程
paradigm:规范
Procedural programming :过程程序设计
indicates :表明
machine languages :机器语言
Over time:久而久之
eventually:最终
object oriented programming:面向对象程序设计
instructions:指令

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

码农菌

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值