To use a functional language, you just need to let go of imperative programming styles. Learning to write in a more functional style has several benefits.
要使用函数性语言,只需要放弃命令式编程的风格。
Once you get used to the new bind, trigger and animation support, it is hard to go back to the old style of imperative, event-driven UI programming.
一旦你习惯了新的绑定、触发器及动画支持,你就很难回到老风格命令式的、事件驱动的UI编程方法。
A declarative programming style is almost always a more direct way of stating constraints than is an imperative or procedural one.
声明性编程样式在声明约束方面几乎一直比命令式或过程序样式更直接。
The imperative (and especially) object-oriented programming style uses structure and messaging as building blocks.
命令式的(特别是)面向对象编程风格采用结构和消息传递作为构建块。
The most popular general purpose programming languages -- including Python and other object-oriented languages -- are predominantly imperative in style.
最受欢迎的通用编程语言(包括Python和其它面向对象的语言)在样式上绝大多数都是命令式的。
First, remember that much of the power of actors comes from the message-passing style rather than the blocking-invocation style that characterizes the rest of the imperative programming world.
首先,actor的主要能力来源于消息传递风格,而不采用阻塞-调用风格,这是它的主要特点。
First, remember that much of the power of actors comes from the message-passing style rather than the blocking-invocation style that characterizes the rest of the imperative programming world.
首先,actor的主要能力来源于消息传递风格,而不采用阻塞-调用风格,这是它的主要特点。
应用推荐